is it possible to compile a mathematica expression that uses vectors of real numbers as input? Since in my application I need to solve a symmetric tridiagonal linear system which is diagonally dominate quite often I am thinking about defining a compiled function that could look something like
Since according to the Mathematica book, the only types that can be specified for compilation are _Integer, _Real, _Complex, and True | False I know that this construct does not work, but has somebody perhaps come up with a clever workaround to make it possible to also pass vectors as arguments?
Many thanks in advance.
=-=-=-=-this message is transmitted on 100 % recycled electrons-=-=-=-= | | | | email@example.com | Stefan Schulz | | Tel. ++49/30/838 5384 | FU Berlin - Theoretical Chemistry | | ++49/30/838 2351 | Takustrasse 3 | | FAX. ++49/30/838 4792 | D-14195 Berlin | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=