UDF Library

Add custom functions in this object to make them available to all CUDA UDFs.

Property Grid

Code

This script defines a reusable custom function for repeated use in other Local UDFs.

For example, the following code will let you call this function from any other CUDA UDF in your model.

float mySqrFunction(float x)
{
    return x * x;
}