lazymatrix::SubmatrixRow
LazyMatrix for Rust · 0.8.1
rust
pub struct SubmatrixRow<'a, F>A borrowed filtered sparse row with the selected fitted column parameters.
Entries and corrections preserve duplicates. Sum duplicate raw values before applying normalization when reconstructing logical cells.
Inherent implementation
rust
impl<'a, F: Scalar> SubmatrixRow<'a, F>center
rust
pub fn center(&self, j: usize) -> FEffective center at a local column index. Panics if out of bounds.
centers
rust
pub fn centers(&self) -> Option<&'a [F]>Borrow selected centers, or None when inactive.
implicit_value
rust
pub fn implicit_value(&self, j: usize) -> FLogical background at a local column index. Panics if out of bounds.
is_empty
rust
pub fn is_empty(&self) -> boolWhether the row has zero logical columns.
len
rust
pub fn len(&self) -> usizeNumber of logical selected columns.
scale
rust
pub fn scale(&self, j: usize) -> FEffective scale at a local column index. Panics if out of bounds.
scales
rust
pub fn scales(&self) -> Option<&'a [F]>Borrow selected scales, or None when inactive.
stored_corrections
rust
pub fn stored_corrections(&self) -> impl Iterator<Item = (usize, F)> + '_Scaled stored corrections to the column-dependent background.
stored_entries
rust
pub fn stored_entries(&self) -> impl Iterator<Item = (usize, F)> + '_Raw stored entries with local indices, preserving order and duplicates.
Implementation of Clone
rust
impl<'a, F: core::clone::Clone> Clone for SubmatrixRow<'a, F>clone
rust
fn clone(&self) -> SelfImplementation of Debug
rust
impl<'a, F: core::fmt::Debug> Debug for SubmatrixRow<'a, F>fmt
rust
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::ResultImplementation of Freeze
rust
impl<'a, F> Freeze for SubmatrixRow<'a, F> where &'a [F]: Freeze, Option<&'a [F]>: Freeze + FreezeImplementation of RefUnwindSafe
rust
impl<'a, F> RefUnwindSafe for SubmatrixRow<'a, F> where &'a [F]: RefUnwindSafe, Option<&'a [F]>: RefUnwindSafe + RefUnwindSafeImplementation of Send
rust
impl<'a, F> Send for SubmatrixRow<'a, F> where &'a [F]: Send, Option<&'a [F]>: Send + SendImplementation of Sync
rust
impl<'a, F> Sync for SubmatrixRow<'a, F> where &'a [F]: Sync, Option<&'a [F]>: Sync + SyncImplementation of Unpin
rust
impl<'a, F> Unpin for SubmatrixRow<'a, F> where &'a [F]: Unpin, Option<&'a [F]>: Unpin + UnpinImplementation of UnsafeUnpin
rust
impl<'a, F> UnsafeUnpin for SubmatrixRow<'a, F> where &'a [F]: UnsafeUnpin, Option<&'a [F]>: UnsafeUnpin + UnsafeUnpinImplementation of UnwindSafe
rust
impl<'a, F> UnwindSafe for SubmatrixRow<'a, F> where &'a [F]: UnwindSafe, Option<&'a [F]>: UnwindSafe + UnwindSafeImplementation of Any
rust
impl<T> Any for T where T: 'static + ?SizedImplementation of Borrow
rust
impl<T> Borrow<T> for T where T: ?SizedImplementation of BorrowMut
rust
impl<T> BorrowMut<T> for T where T: ?SizedImplementation of ByRef
rust
impl<T> ByRef<T> for TImplementation of CastableFrom
rust
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT where ST: ?Sized, DT: ?SizedImplementation of CastableFrom
rust
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT where ST: ?Sized, DT: ?SizedImplementation of CloneToUninit
rust
impl<T> CloneToUninit for T where T: CloneImplementation of From
rust
impl<T> From<T> for TImplementation of Imply
rust
impl<T, U> Imply<T> for U where T: ?Sized, U: ?SizedImplementation of Into
rust
impl<T, U> Into<U> for T where U: From<T>Implementation of IntoEither
rust
impl<T> IntoEither for TImplementation of Pointable
rust
impl<T> Pointable for TImplementation of Read
rust
impl<T> Read<Exclusive, BecauseExclusive> for T where T: ?SizedImplementation of Same
rust
impl<T> Same for TImplementation of SupersetOf
rust
impl<SS, SP> SupersetOf<SS> for SP where SS: SubsetOf<SP>Implementation of ToOwned
rust
impl<T> ToOwned for T where T: CloneImplementation of TryFrom
rust
impl<T, U> TryFrom<U> for T where U: Into<T>Implementation of TryInto
rust
impl<T, U> TryInto<U> for T where U: TryFrom<T>
