The code-generation tag has no wiki summary.
21
votes
0answers
186 views
Export Code to Pseudocode?
I'm writing a paper and all my code is in Mathematica. The snippets are mostly simple, and consist of loops, maps, variables, and conditionals. I'd like add it to my paper, however, not many academic ...
3
votes
0answers
59 views
CCodeGenerate and calling external functions
Is it possible to use CCodeGenerate to generate code which calls functions from other C libraries? For example, I would like to do something like this:
...
2
votes
0answers
84 views
Generalization of a rule to N arguments
I am trying to apply a series expansion on a function x[t1,t2,...tn], with an expansion parameter a. For ...
0
votes
0answers
51 views
Generalising propagation of covariance for sums of indexed variables
this is my first post in mathematicaSE. I have a question relating an answer given in an earlier <post>. Oleksandr uses as an example the expression
...
9
votes
2answers
156 views
How can I build an inline documentation utility?
I often have a large function to which I add inline comments, but then I can't see the forest for the trees. How can I make a tool that extracts the comments and tokens within them to generate an ...
20
votes
6answers
1k views
3
votes
1answer
142 views
Where do I get the mdefs.h file?
I want to generate some C code, and the reference here says that Mathematica comes with a mdefs.h file, but I cannot find it. Is there a place where I can download ...
16
votes
6answers
294 views
What kinds of uses of SymbolicC (introduced in Mathematica 8) do you foresee? Are there any neat examples already?
Mathematica 8 introduced SymbolicC, a set of Mathematica functions that capture C language constructions in the familiar Mathematica tree-like fashion. Additionally, there are functions to write ...