Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Compile function' topicStudent Support Forum > General > "Compile function"

Help | Reply To Topic
Author Comment/Response
Ruben Proano
11/27/07 10:11am

Does anyone know how to use the compile function when one of the function parameters is a vector (or a list of real numbers)?

For example:

FG=Compile[{{V, _Reals}, {T, _Reals}, T V];

where V is a vector of real numbers, and T is just a constant.

Thanks,

URL: ,
Help | Reply To Topic