ConnectLibraryCallbackFunction

ConnectLibraryCallbackFunction[mname,cf]
connects a CompiledFunction cf with the library callback manager with name mname.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Load an example LibraryFunction that applies a callback function to each element in a list:

In[1]:=
Click for copyable input

Compile a simple function and connect the CompiledFunction to the library callback manager:

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

Applying the LibraryFunction to a list will use the CompiledFunction for each element:

In[4]:=
Click for copyable input
Out[4]=
Introduced in 2014
(10.0)