New in Wolfram
Mathematica
8: Compiler Performance Enhancements
◄
previous
|
next
►
Software Development
Call an External Library Function from Compile
Compile
can call external
LibraryLink
functions.
In[1]:=
X
fun = LibraryFunctionLoad["demo", "demo_I_I", {Integer}, Integer]; c = Compile[{{x, _Integer}}, fun[x]]; c[3]
Out[1]=