Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Array input with Compile[]' topicStudent Support Forum > General > Archives > "Array input with Compile[]"

Next Comment >Help | Reply To Topic
Author Comment/Response
03/12/12 11:35am

Hello everyone!

Is there a possibility to use an array or List when using the Compile[] function? For example, I imagine a very simple function to look like:

myMean = Compile[{{array, _List}},
Total[array] / Length[array]]

But a _List doesn't exist, nor does an _Array or anything else I tried. Any suggestions?


URL: ,

Subject (listing for 'Array input with Compile[]')
Author Date Posted
Array input with Compile[] Jelle 03/12/12 11:35am
Re: Array input with Compile[] jf 03/13/12 11:27am
Next Comment >Help | Reply To Topic