pub struct ColumnScaledOperator<A, T> { /* private fields */ }Expand description
Lazy column-scaled operator representing A * diag(scales).
Implementations§
Trait Implementations§
Source§impl<A: Clone, T: Clone> Clone for ColumnScaledOperator<A, T>
impl<A: Clone, T: Clone> Clone for ColumnScaledOperator<A, T>
Source§fn clone(&self) -> ColumnScaledOperator<A, T>
fn clone(&self) -> ColumnScaledOperator<A, T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Float, A: LinearOperator<T>> LinearOperator<T> for ColumnScaledOperator<A, T>
impl<T: Float, A: LinearOperator<T>> LinearOperator<T> for ColumnScaledOperator<A, T>
Source§fn matmat(&self, x: ArrayView2<'_, T>, y: ArrayViewMut2<'_, T>) -> Result<()>
fn matmat(&self, x: ArrayView2<'_, T>, y: ArrayViewMut2<'_, T>) -> Result<()>
Compute
Y = A X.Source§fn t_matmat(&self, x: ArrayView2<'_, T>, y: ArrayViewMut2<'_, T>) -> Result<()>
fn t_matmat(&self, x: ArrayView2<'_, T>, y: ArrayViewMut2<'_, T>) -> Result<()>
Compute
Y = A^T X.Auto Trait Implementations§
impl<A, T> Freeze for ColumnScaledOperator<A, T>where
A: Freeze,
impl<A, T> RefUnwindSafe for ColumnScaledOperator<A, T>where
A: RefUnwindSafe,
T: RefUnwindSafe,
impl<A, T> Send for ColumnScaledOperator<A, T>
impl<A, T> Sync for ColumnScaledOperator<A, T>
impl<A, T> Unpin for ColumnScaledOperator<A, T>
impl<A, T> UnsafeUnpin for ColumnScaledOperator<A, T>where
A: UnsafeUnpin,
impl<A, T> UnwindSafe for ColumnScaledOperator<A, T>where
A: UnwindSafe,
T: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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