FunctionCompileExportLibrary

FunctionCompileExportLibrary[file,func]

exports a compiled version of func as a shared library suitable for external use.

Details and Options

Examples

Basic Examples  (1)

Export a compiled version of a function into a library:

In[1]:=
Click for copyable input
Out[1]=

Load the library and create a CompiledCodeFunction:

In[2]:=
Click for copyable input
Out[2]=

Execute the function in the CompiledCodeFunction:

In[3]:=
Click for copyable input
Out[3]=
Introduced in 2019
(12.0)