MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Compiled functions

  • To: mathgroup at
  • Subject: [mg4598] Re: Compiled functions
  • From: earhart at (Elizabeth J Earhart)
  • Date: Wed, 21 Aug 1996 03:25:18 -0400
  • Organization: Massachvsetts Institvte of Technology
  • Sender: owner-wri-mathgroup at

In article <4u9iob$moj at>,
Stefan Schulz  <sschulz at> wrote:
>Dear Mathematica users,
>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 

Unfortunately, Compile[] does not handle vectors of arbitrary
length at all well.  If you need more speed, your best bet is
probably to write this in C and use MathLink to install it in
Mathematica.  This should be pretty easy for the function you're



  • Prev by Date: removing those OpenTemporary files
  • Next by Date: Re: Postfix (//) with Options?
  • Previous by thread: Re: Compiled functions
  • Next by thread: List of x,y pairs to use with ListPlot