C Functions
SymbolicC supports working with C functions, as described in this section.
Defining Functions
First, you need to load the package.
Now, you can create a C function with CFunction .
You can give a list as the type specification if you need type qualifiers.
Calling Functions
First, you need to load the package.
Now, you can call a C function with CCall .
Standard Math Operators
First, you need to load the package.
SymbolicC provides a full range of the standard C math operators. These generate function calls, as shown in the following.
For some standard math operators there is no corresponding Wolfram Language function. In this case a string is used, as shown below.
The full list of standard math operators is given below, showing the name in the Wolfram Language and the output C name.
Wolfram Language function names and the corresponding standard math functions.