Questions tagged [c-codegenerator]
The c-codegenerator tag has no summary.
12 questions
2
votes
0
answers
76
views
Call Compiled Function in Python
How can I call a function made with Compile in Python, Is it possible to just save it using LibraryGenerateand call the ...
3
votes
0
answers
75
views
Mathematica call CompiledFunction from Python with Listable and Parrallelization attributes
I have a CompiledFunction e.g. this:
...
1
vote
1
answer
85
views
CCodeGenerator: auto-generated dll crashes
I am trying to use CCodeGenerator to generate a .dll library that I need to subsequently link in a custom C-code project.
However, I am stuck when using the following line of code:
...
3
votes
1
answer
316
views
Generate C code from symbolic computation in Mathematica
I am doing some tensor multiplication operations and would like to have Mathematica generate C code so that I can use it later.
I want to supply two 2nd order tensors(A and B) and get the entries of a ...
2
votes
1
answer
136
views
Compiled library crashes at WolframLibraryData_new
I am using CreateLibrary to create a dynamic library of a Mathematica function, so that it can be linked into standalone code, but I run into segmentation faults (...
4
votes
0
answers
184
views
How to compile effectively with recent MMA? Global variables in C code, compilation of C code
I have read the generously comprehensive answers by @leonidshifrin and @xzczd to the question How to compile effectively but more than seven years have now passed, and whilst I am sure much remains ...
0
votes
0
answers
116
views
Rearrange a symbolic function in order that the result contains a minimum number of SQRT() and CBRT() calculations
I use mathematica for analytically calculating a function, which solves two equations:
...
0
votes
0
answers
170
views
Use MMA generated function in C
I am trying to use MMA generated function and call it form C. The function is (MMA env):
...
3
votes
1
answer
526
views
Where is NumericalMath`OptimizeExpression`
In one of my older Notebooks I found a reference to NumericalMath`OptimizeExpression. When I wrote it, I handed the result of some transformations to
...
6
votes
2
answers
859
views
OptimizeExpression to C code
Is there a function which turns optimized expression to C code?
Calling
Experimental`OptimizeExpression[ Sin[x] + Cos[Sin[x]]]
returns
...
19
votes
0
answers
680
views
C Code generated from Mathematica not working?
I am a .Net developer. I'm trying to build a Visual C++ application using C code generated from Mathematica (by another person). I don't have Mathematica installed on my machine. When I try to compile ...
3
votes
1
answer
1k
views
Need help with C Code Generator
I'm trying to use the Mathematica C Code Generator package to generate code that is to be included in a web application by a developer. I don't know any C, and this seems to be the only way to ...