#[repr(C)]pub struct qdldl {Show 28 fields
pub type_0: linsys_solver_type,
pub solve: Option<unsafe extern "C" fn(*mut qdldl, *mut c_float) -> c_int>,
pub free: Option<unsafe extern "C" fn(*mut qdldl)>,
pub update_matrices: Option<unsafe extern "C" fn(*mut qdldl, *const csc, *const csc) -> c_int>,
pub update_rho_vec: Option<unsafe extern "C" fn(*mut qdldl, *const c_float) -> c_int>,
pub nthreads: c_int,
pub L: *mut csc,
pub Dinv: *mut c_float,
pub P: *mut c_int,
pub bp: *mut c_float,
pub sol: *mut c_float,
pub rho_inv_vec: *mut c_float,
pub sigma: c_float,
pub polish: c_int,
pub n: c_int,
pub m: c_int,
pub Pdiag_idx: *mut c_int,
pub Pdiag_n: c_int,
pub KKT: *mut csc,
pub PtoKKT: *mut c_int,
pub AtoKKT: *mut c_int,
pub rhotoKKT: *mut c_int,
pub D: *mut QDLDL_float,
pub etree: *mut QDLDL_int,
pub Lnz: *mut QDLDL_int,
pub iwork: *mut QDLDL_int,
pub bwork: *mut QDLDL_bool,
pub fwork: *mut QDLDL_float,
}Fields§
§type_0: linsys_solver_type§solve: Option<unsafe extern "C" fn(*mut qdldl, *mut c_float) -> c_int>§free: Option<unsafe extern "C" fn(*mut qdldl)>§update_matrices: Option<unsafe extern "C" fn(*mut qdldl, *const csc, *const csc) -> c_int>§update_rho_vec: Option<unsafe extern "C" fn(*mut qdldl, *const c_float) -> c_int>§nthreads: c_int§L: *mut csc§Dinv: *mut c_float§P: *mut c_int§bp: *mut c_float§sol: *mut c_float§rho_inv_vec: *mut c_float§sigma: c_float§polish: c_int§n: c_int§m: c_int§Pdiag_idx: *mut c_int§Pdiag_n: c_int§KKT: *mut csc§PtoKKT: *mut c_int§AtoKKT: *mut c_int§rhotoKKT: *mut c_int§D: *mut QDLDL_float§etree: *mut QDLDL_int§Lnz: *mut QDLDL_int§iwork: *mut QDLDL_int§bwork: *mut QDLDL_bool§fwork: *mut QDLDL_floatTrait Implementations§
Auto Trait Implementations§
impl Freeze for qdldl
impl RefUnwindSafe for qdldl
impl !Send for qdldl
impl !Sync for qdldl
impl Unpin for qdldl
impl UnwindSafe for qdldl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more