Function expr_batch_set_variable
Source #[unsafe(no_mangle)]
pub extern "C" fn expr_batch_set_variable(
batch: *mut ExprBatch,
index: usize,
value: Real,
) -> i32
Expand description
Update a variable value by index
§Parameters
batch: The batch
index: Variable index from expr_batch_add_variable()
value: New value
§Returns
0 on success, negative error code on failure