Skip to main content

execute_matrix

Function execute_matrix 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn execute_matrix( q: *mut CompilerResult, states: *mut Matrix<'_>, obs: *mut Matrix<'_>, ) -> bool
Expand description

Executes (runs) the matrix model encoded by q.

ยงSafety

1, q should point to a valid CompilerResult object.
2. states should point to a valid Matrix of at least count_states rows.
3. obs should point to a valid Matrix of at least count_obs rows.