#[repr(C)]
pub struct _generic_SUNLinearSolver_Ops {
pub gettype: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> SUNLinearSolver_Type>,
pub setatimes: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: *mut c_void, arg3: ATimesFn) -> c_int>,
pub setpreconditioner: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: *mut c_void, arg3: PSetupFn, arg4: PSolveFn) -> c_int>,
pub setscalingvectors: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: N_Vector, arg3: N_Vector) -> c_int>,
pub initialize: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> c_int>,
pub setup: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: SUNMatrix) -> c_int>,
pub solve: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: SUNMatrix, arg3: N_Vector, arg4: N_Vector, arg5: realtype) -> c_int>,
pub numiters: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> c_int>,
pub resnorm: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> realtype>,
pub lastflag: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> c_long>,
pub space: Option<unsafe extern "C" fn(arg1: SUNLinearSolver, arg2: *mut c_long, arg3: *mut c_long) -> c_int>,
pub resid: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> N_Vector>,
pub free: Option<unsafe extern "C" fn(arg1: SUNLinearSolver) -> c_int>,
}
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static