122 questions linked to/from List of compilable functions
82 views

### Can substitution rules be compiled?

I am thinking of having a custom multiplication operation CenterDot[A,B] for non-commutative operators, and some rules that should commute the operators to a ...
162 views

### How to use Compile? Bivariate Gibbs Sampler

I am trying to use compile to speed up my Gibbs sampler. I know I can use Reap and Sow to speed up tremendously. I have a more complicated Bayesian posterior that I want to speed up with compile so I ...
130 views

### Compilation of a function that needs to call Subsets

I'm working on a code that runs many (easy) operations on combinations (subsets) of different size (6, 7, 8, 9) taken from a big set of numbers (normally more that 40). So, this means the code has to ...
103 views

### Creating an Executable App

The CreateExecutable and Needs["CCompilerDriver"]` commands can run .exe applications in MMA. I would like to know if it is ...
79 views

### Fourier Transform of streched exponential

I need to compute the Fourier Transform of a streched exponential (according to Wikipedia "it must be calculated either by numeric integration, or from a series expansion"; so I go for the first ...
57 views

### How to compile the function with FindRoot? [duplicate]

How to compile this function or any function that uses lists and Part[] ? f[x_?NumberQ] := FindRoot[x == Sin[t] - t, {t, 1}][[1, -1]];
84 views

...
101 views

### Regarding CompilationTarget->“C”

Recently I have read some interesting things about CompilationTarget->"C" on SE, e.g. in https://mathematica.stackexchange.com/a/54459/11116 where @MichaelE2 ...
99 views

### Get rid of external library dependency [closed]

I am trying to generate C code for some functions, which I do not post in full because they are a few hundred lines long. The functions do nothing too fancy: a bunch of dot products, powers and roots. ...
72 views

### Is it possible to compile this code?

I'm not really familiar with the Compile function at Mathematica yet, but I know that it can, in some cases, be faster than using a non-compiled version of a code. I've been giving some shots in ...
240 views

### Compiling matrix multiplication using a list of matrices

I'm trying to create compiled function which computes a list of Gamma matrices named GammaM and multiply them within the compiled code. ...
82 views

### Compiling LinearSolve with 2 complex matrices, possible bug

Take two complex matrices depending on one variable, for example: ...
53 views

### Compiled funtion don't understand internal compiled function [duplicate]

I work a lot on Mathematica and sometimes I need to optimize my computations by using compiled functions. Now I'm making numerical integrations and I'm trying to compile the functions involved to make ...