Skip to main content

execute

Function execute 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn execute(q: *mut CompilerResult) -> bool
Expand description

Executes the compiled function.

The calling routine should fill the states and parameters before calling execute. The result populates obs or diffs (as defined in model passed to compile).

ยงSafety

it is the responsibility of the calling function to ensure
that q points to a valid CompilerResult.