[−][src]Struct osqp_sys::csc
Matrix in compressed-column form. The structure is used internally to store matrices in the triplet form as well, but the API requires that the matrices are in the CSC format.
Fields
nzmax: osqp_int
< maximum number of entries
m: osqp_int
< number of rows
n: osqp_int
< number of columns
p: *mut osqp_int
< column pointers (size n+1); col indices (size nzmax) start from 0 when using triplet format (direct KKT matrix formation)
i: *mut osqp_int
< row indices, size nzmax starting from 0
x: *mut osqp_float
< numerical values, size nzmax
nz: osqp_int
< number of entries in triplet matrix, -1 for csc
Auto Trait Implementations
impl RefUnwindSafe for csc
[src]
impl !Send for csc
[src]
impl !Sync for csc
[src]
impl Unpin for csc
[src]
impl UnwindSafe for csc
[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>,