pub struct CSCJacobian<F: IntegrateFloat> {
pub nrows: usize,
pub n_cols: usize,
pub col_ptr: Vec<usize>,
pub row_idx: Vec<usize>,
pub values: Vec<F>,
}Expand description
Compressed Sparse Column (CSC) format for efficient column operations
Fields§
§nrows: usizeNumber of rows
n_cols: usizeNumber of columns
col_ptr: Vec<usize>Column pointers (size n_cols + 1)
row_idx: Vec<usize>Row indices (size nnz)
values: Vec<F>Non-zero values (size nnz)
Auto Trait Implementations§
impl<F> Freeze for CSCJacobian<F>
impl<F> RefUnwindSafe for CSCJacobian<F>where
F: RefUnwindSafe,
impl<F> Send for CSCJacobian<F>where
F: Send,
impl<F> Sync for CSCJacobian<F>where
F: Sync,
impl<F> Unpin for CSCJacobian<F>where
F: Unpin,
impl<F> UnwindSafe for CSCJacobian<F>where
F: UnwindSafe,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more