[−][src]Struct osqp_sys::linsys_solver
Define linsys_solver prototype structure
NB: The details are defined when the linear solver is initialized depending on the choice
Fields
type_: linsys_solver_type
< linear system solver type functions
solve: Option<unsafe extern "C" fn(self_: *mut LinSysSolver, b: *mut osqp_float) -> osqp_int>
free: Option<unsafe extern "C" fn(self_: *mut LinSysSolver)>
< free linear system solver (only in desktop version)
update_matrices: Option<unsafe extern "C" fn(s: *mut LinSysSolver, P: *const csc, A: *const csc) -> osqp_int>
update_rho_vec: Option<unsafe extern "C" fn(s: *mut LinSysSolver, rho_vec: *const osqp_float) -> osqp_int>
nthreads: osqp_int
< number of threads active
Auto Trait Implementations
impl RefUnwindSafe for linsys_solver
[src]
impl Send for linsys_solver
[src]
impl Sync for linsys_solver
[src]
impl Unpin for linsys_solver
[src]
impl UnwindSafe for linsys_solver
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,