pub struct LowRankKernelMatrix { /* private fields */ }Expand description
Low-rank compressed kernel matrix using SVD
Implementations§
Trait Implementations§
Source§impl CompressedKernelMatrix for LowRankKernelMatrix
impl CompressedKernelMatrix for LowRankKernelMatrix
Source§fn get_block(
&self,
row_start: usize,
row_end: usize,
col_start: usize,
col_end: usize,
) -> Result<Array2<Float>>
fn get_block( &self, row_start: usize, row_end: usize, col_start: usize, col_end: usize, ) -> Result<Array2<Float>>
Get a block of kernel values
Source§fn dimensions(&self) -> (usize, usize)
fn dimensions(&self) -> (usize, usize)
Get matrix dimensions
Source§fn compression_ratio(&self) -> Float
fn compression_ratio(&self) -> Float
Get compression ratio achieved
Source§fn approximation_error(&self) -> Float
fn approximation_error(&self) -> Float
Get approximation error
Source§fn memory_usage(&self) -> usize
fn memory_usage(&self) -> usize
Get memory usage in bytes
Auto Trait Implementations§
impl Freeze for LowRankKernelMatrix
impl RefUnwindSafe for LowRankKernelMatrix
impl Send for LowRankKernelMatrix
impl Sync for LowRankKernelMatrix
impl Unpin for LowRankKernelMatrix
impl UnsafeUnpin for LowRankKernelMatrix
impl UnwindSafe for LowRankKernelMatrix
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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