Timeline for Exporting a compiled function for later use
Current License: CC BY-SA 3.0
25 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 6, 2019 at 9:35 | vote | accept | MOON | ||
May 12, 2015 at 16:36 | history | edited | dr.blochwave | CC BY-SA 3.0 |
added 4 characters in body
|
May 12, 2015 at 16:35 | comment | added | dr.blochwave | @JacobAkkerboom sorry, just personal preference regarding the quotes! Thanks for tidying up the question for reopening though - good job! | |
May 12, 2015 at 16:16 | comment | added | Jacob Akkerboom | @blochwave You do not like the blockquote environment (yellow background thingy) for output I see. I suppose the question is closer to the original after your edit. | |
May 12, 2015 at 14:47 | history | edited | dr.blochwave | CC BY-SA 3.0 |
formatting, made it a bit clearer
|
May 12, 2015 at 14:33 | answer | added | dr.blochwave | timeline score: 15 | |
May 12, 2015 at 13:02 | history | reopened |
Jacob Akkerboom dr.blochwave Mr.Wizard |
||
May 12, 2015 at 11:00 | review | Reopen votes | |||
May 12, 2015 at 13:02 | |||||
May 12, 2015 at 10:41 | history | edited | Jacob Akkerboom | CC BY-SA 3.0 |
Big cleanup
|
May 12, 2015 at 1:40 | history | edited | xzczd♦ | CC BY-SA 3.0 |
deleted 223 characters in body
|
May 9, 2015 at 14:44 | history | closed |
xzczd♦ Kuba m_goldberg bbgodfrey Sjoerd C. de Vries |
Duplicate of Save a C compiled function without losing the blessing of C compiler | |
May 9, 2015 at 11:20 | history | edited | dr.blochwave | CC BY-SA 3.0 |
added 223 characters in body
|
May 9, 2015 at 10:52 | review | Close votes | |||
May 9, 2015 at 14:44 | |||||
Aug 26, 2014 at 17:34 | comment | added | dr.blochwave |
As for Point 1, yes, LibraryGenerate creates C code, so it will be compiled...
|
|
Aug 26, 2014 at 17:33 | comment | added | dr.blochwave | Currently you're passing a tensor to C code that expects a single value. | |
Aug 26, 2014 at 17:32 | comment | added | dr.blochwave |
Instead of using the Listable attribute, try {x, _Real, 1} and submit your variable as a tensor.
|
|
Aug 26, 2014 at 16:53 | history | edited | MOON | CC BY-SA 3.0 |
added 1051 characters in body
|
Aug 26, 2014 at 16:22 | comment | added | MOON | Di you manage you export the compiled function? I read the documentation but I didn't succeed. | |
Aug 25, 2014 at 20:06 | history | tweeted | twitter.com/#!/StackMma/status/503996796226768897 | ||
Aug 25, 2014 at 19:38 | comment | added | dr.blochwave | By directory, it'll be a temp/working directory. | |
Aug 25, 2014 at 14:50 | comment | added | dr.blochwave |
The C code generated will be in a directory as .dll file, you need to find that, and perhaps you can load it with LibraryLink . Or you can put the compilation command as an initialization cell to run when you open the notebook.
|
|
Aug 25, 2014 at 14:45 | comment | added | dr.blochwave | At a guess, it's because you're exporting the Mathematica code to compile the function, not the compiled function itself. So the extra time comes from recompilation. | |
Aug 25, 2014 at 11:51 | history | edited | MOON | CC BY-SA 3.0 |
added 41 characters in body
|
Aug 25, 2014 at 11:46 | history | edited | MOON | CC BY-SA 3.0 |
added 504 characters in body
|
Aug 24, 2014 at 23:32 | history | asked | MOON | CC BY-SA 3.0 |