Timeline for Is it possible to create a compiled function with some symbolic arguments?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 4, 2013 at 3:12 | vote | accept | Matthew | ||
Apr 4, 2013 at 2:11 | answer | added | Michael E2 | timeline score: 4 | |
Apr 3, 2013 at 21:42 | comment | added | andre314 |
This question is interesting and could prevent new users of Compile[] to ask to much to Compile[] . Nevertheless it would be good to have a more concise code (no more than the necessary code that reveals the problem)
|
|
Apr 3, 2013 at 21:19 | comment | added | Szabolcs | The simple answer here is that compiled functions cannot work with symbols. They always must have numeric arguments (tensors or scalars, but not ragged arrays). The function will need to be rewritten to do the substitution outside of the compiled part of pass the result to a smaller compiled function. | |
Apr 3, 2013 at 21:11 | history | edited | Matthew | CC BY-SA 3.0 |
added 18 characters in body
|
Apr 3, 2013 at 21:02 | history | edited | Matthew | CC BY-SA 3.0 |
deleted 89 characters in body
|
Apr 3, 2013 at 20:52 | history | asked | Matthew | CC BY-SA 3.0 |