User-Defined Functions

Users can defined their own functions to execute with PyTaco. These functions must be implemented in a C header file and can be called using the following functions.

apply(func_name, arg_list, output_zero_specifier)

Applies a user-defined function to an index_expression.

set_udf_dir(dir_to_search)

Sets the directory to search for user-defined functions.