pub struct HierarchicalKernelMatrix { /* private fields */ }Expand description
Hierarchical compressed kernel matrix using block compression
Implementations§
Trait Implementations§
Source§impl CompressedKernelMatrix for HierarchicalKernelMatrix
impl CompressedKernelMatrix for HierarchicalKernelMatrix
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 !RefUnwindSafe for HierarchicalKernelMatrix
impl !UnwindSafe for HierarchicalKernelMatrix
impl Freeze for HierarchicalKernelMatrix
impl Send for HierarchicalKernelMatrix
impl Sync for HierarchicalKernelMatrix
impl Unpin for HierarchicalKernelMatrix
impl UnsafeUnpin for HierarchicalKernelMatrix
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