Struct sundials_sys::_generic_SUNMatrix_Ops
source · #[repr(C)]pub struct _generic_SUNMatrix_Ops {
pub getid: Option<unsafe extern "C" fn(arg1: SUNMatrix) -> SUNMatrix_ID>,
pub clone: Option<unsafe extern "C" fn(arg1: SUNMatrix) -> SUNMatrix>,
pub destroy: Option<unsafe extern "C" fn(arg1: SUNMatrix)>,
pub zero: Option<unsafe extern "C" fn(arg1: SUNMatrix) -> c_int>,
pub copy: Option<unsafe extern "C" fn(arg1: SUNMatrix, arg2: SUNMatrix) -> c_int>,
pub scaleadd: Option<unsafe extern "C" fn(arg1: realtype, arg2: SUNMatrix, arg3: SUNMatrix) -> c_int>,
pub scaleaddi: Option<unsafe extern "C" fn(arg1: realtype, arg2: SUNMatrix) -> c_int>,
pub matvec: Option<unsafe extern "C" fn(arg1: SUNMatrix, arg2: N_Vector, arg3: N_Vector) -> c_int>,
pub space: Option<unsafe extern "C" fn(arg1: SUNMatrix, arg2: *mut c_long, arg3: *mut c_long) -> c_int>,
}
Fields§
§getid: Option<unsafe extern "C" fn(arg1: SUNMatrix) -> SUNMatrix_ID>
§clone: Option<unsafe extern "C" fn(arg1: SUNMatrix) -> SUNMatrix>
§destroy: Option<unsafe extern "C" fn(arg1: SUNMatrix)>
§zero: Option<unsafe extern "C" fn(arg1: SUNMatrix) -> c_int>
§copy: Option<unsafe extern "C" fn(arg1: SUNMatrix, arg2: SUNMatrix) -> c_int>
§scaleadd: Option<unsafe extern "C" fn(arg1: realtype, arg2: SUNMatrix, arg3: SUNMatrix) -> c_int>
§scaleaddi: Option<unsafe extern "C" fn(arg1: realtype, arg2: SUNMatrix) -> c_int>
§matvec: Option<unsafe extern "C" fn(arg1: SUNMatrix, arg2: N_Vector, arg3: N_Vector) -> c_int>
§space: Option<unsafe extern "C" fn(arg1: SUNMatrix, arg2: *mut c_long, arg3: *mut c_long) -> c_int>
Trait Implementations§
source§impl Clone for _generic_SUNMatrix_Ops
impl Clone for _generic_SUNMatrix_Ops
source§fn clone(&self) -> _generic_SUNMatrix_Ops
fn clone(&self) -> _generic_SUNMatrix_Ops
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more