pub struct KluMatrixSpec<I: KluIndex> { /* private fields */ }Implementations§
Source§impl<I: KluIndex> KluMatrixSpec<I>
impl<I: KluIndex> KluMatrixSpec<I>
pub fn entry_cnt(&self) -> usize
Sourcepub fn reinit(&mut self, columns: &[Vec<I>])
pub fn reinit(&mut self, columns: &[Vec<I>])
Constructs a new matrix specification by reusing the allocations within this spec.
See [new] for details
Sourcepub fn new(columns: &[Vec<I>], klu_settings: KluSettings<I>) -> Rc<Self>
pub fn new(columns: &[Vec<I>], klu_settings: KluSettings<I>) -> Rc<Self>
Constructs a new matrix spec from a column sparse matrix description.
pub fn create_matrix<D: KluData>(self: Rc<Self>) -> Option<FixedKluMatrix<I, D>>
pub fn offset(&self, column: I, row: I) -> Option<usize>
Trait Implementations§
Source§impl<I: Debug + KluIndex> Debug for KluMatrixSpec<I>where
I::KluSymbolic: Debug,
impl<I: Debug + KluIndex> Debug for KluMatrixSpec<I>where
I::KluSymbolic: Debug,
Auto Trait Implementations§
impl<I> Freeze for KluMatrixSpec<I>
impl<I> RefUnwindSafe for KluMatrixSpec<I>where
<I as KluIndex>::KluSymbolic: RefUnwindSafe,
I: RefUnwindSafe,
<I as KluIndex>::KluCommon: RefUnwindSafe,
impl<I> !Send for KluMatrixSpec<I>
impl<I> !Sync for KluMatrixSpec<I>
impl<I> Unpin for KluMatrixSpec<I>
impl<I> UnwindSafe for KluMatrixSpec<I>where
<I as KluIndex>::KluSymbolic: RefUnwindSafe + UnwindSafe,
I: UnwindSafe,
<I as KluIndex>::KluCommon: 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