compile_formula: Compile a formula defining a new operator

Description Usage Arguments Details Value Author(s) See Also

View source: R/generic-compile_formula.R

Description

User-defined operators associated to a formula are compiled in shared object files with this function.

Usage

1
compile_formula(formula, var_aliases, dllname)

Arguments

formula

text string, formula defining the new operator.

var_aliases

text string, formated formula input arguments returned by format_var_aliases() (specifically $var_aliases).

dllname

text string, the name associated to the related shared object file.

Details

The function compile_formula sets up the working directory and the environment to call the function compile_code() for the cmake compilation.

Afterwards, it also verify that the compilation went smoothly.

Value

0 if no problem

Author(s)

Ghislain Durif

See Also

keops_kernel(), compile_code()


rkeops documentation built on Feb. 17, 2021, 5:08 p.m.