pub struct TiledMatrixOps { /* private fields */ }Expand description
Tiled matrix operations for better cache locality
Implementations§
Source§impl TiledMatrixOps
impl TiledMatrixOps
Sourcepub fn with_config(config: CacheOptimizationConfig) -> Self
pub fn with_config(config: CacheOptimizationConfig) -> Self
Create with custom configuration
Sourcepub fn tiled_matrix_multiply(
&self,
a: &Array2<Float>,
b: &Array2<Float>,
) -> Result<Array2<Float>>
pub fn tiled_matrix_multiply( &self, a: &Array2<Float>, b: &Array2<Float>, ) -> Result<Array2<Float>>
Cache-optimized matrix multiplication using tiling
Sourcepub fn cache_friendly_transpose(
&self,
input: &Array2<Float>,
) -> Result<Array2<Float>>
pub fn cache_friendly_transpose( &self, input: &Array2<Float>, ) -> Result<Array2<Float>>
Cache-friendly matrix transpose
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TiledMatrixOps
impl RefUnwindSafe for TiledMatrixOps
impl Send for TiledMatrixOps
impl Sync for TiledMatrixOps
impl Unpin for TiledMatrixOps
impl UnwindSafe for TiledMatrixOps
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