Questions tagged [c-codegenerator]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
64 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
0answers
100 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
0answers
53 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
0answers
91 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): ...
2
votes
1answer
247 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
2answers
475 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 ...
16
votes
0answers
563 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
1answer
717 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 ...