pub struct Scale { /* private fields */ }
Expand description
Scaling factor tag.
Trait Implementations§
Source§impl MatMul<Dense> for Scale
impl MatMul<Dense> for Scale
Source§fn mat_mul<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>>(
lhs: <Scale as MatrixKind>::Ref<'_, LhsE>,
rhs: <Dense as MatrixKind>::Ref<'_, RhsE>,
) -> <Self::Output as MatrixKind>::Own<E>
fn mat_mul<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>>( lhs: <Scale as MatrixKind>::Ref<'_, LhsE>, rhs: <Dense as MatrixKind>::Ref<'_, RhsE>, ) -> <Self::Output as MatrixKind>::Own<E>
Returns
lhs * rhs
.Source§impl MatMul<DenseCol> for Scale
impl MatMul<DenseCol> for Scale
Source§fn mat_mul<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>>(
lhs: <Scale as MatrixKind>::Ref<'_, LhsE>,
rhs: <DenseCol as MatrixKind>::Ref<'_, RhsE>,
) -> <Self::Output as MatrixKind>::Own<E>
fn mat_mul<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>>( lhs: <Scale as MatrixKind>::Ref<'_, LhsE>, rhs: <DenseCol as MatrixKind>::Ref<'_, RhsE>, ) -> <Self::Output as MatrixKind>::Own<E>
Returns
lhs * rhs
.Source§impl MatMul<DenseRow> for Scale
impl MatMul<DenseRow> for Scale
Source§fn mat_mul<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>>(
lhs: <Scale as MatrixKind>::Ref<'_, LhsE>,
rhs: <DenseRow as MatrixKind>::Ref<'_, RhsE>,
) -> <Self::Output as MatrixKind>::Own<E>
fn mat_mul<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>>( lhs: <Scale as MatrixKind>::Ref<'_, LhsE>, rhs: <DenseRow as MatrixKind>::Ref<'_, RhsE>, ) -> <Self::Output as MatrixKind>::Own<E>
Returns
lhs * rhs
.Source§impl MatMul<Scale> for Dense
impl MatMul<Scale> for Dense
Source§fn mat_mul<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>>(
lhs: <Dense as MatrixKind>::Ref<'_, LhsE>,
rhs: <Scale as MatrixKind>::Ref<'_, RhsE>,
) -> <Self::Output as MatrixKind>::Own<E>
fn mat_mul<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>>( lhs: <Dense as MatrixKind>::Ref<'_, LhsE>, rhs: <Scale as MatrixKind>::Ref<'_, RhsE>, ) -> <Self::Output as MatrixKind>::Own<E>
Returns
lhs * rhs
.Source§impl MatMul<Scale> for DenseCol
impl MatMul<Scale> for DenseCol
Source§fn mat_mul<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>>(
lhs: <DenseCol as MatrixKind>::Ref<'_, LhsE>,
rhs: <Scale as MatrixKind>::Ref<'_, RhsE>,
) -> <Self::Output as MatrixKind>::Own<E>
fn mat_mul<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>>( lhs: <DenseCol as MatrixKind>::Ref<'_, LhsE>, rhs: <Scale as MatrixKind>::Ref<'_, RhsE>, ) -> <Self::Output as MatrixKind>::Own<E>
Returns
lhs * rhs
.Source§impl MatMul<Scale> for DenseRow
impl MatMul<Scale> for DenseRow
Source§fn mat_mul<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>>(
lhs: <DenseRow as MatrixKind>::Ref<'_, LhsE>,
rhs: <Scale as MatrixKind>::Ref<'_, RhsE>,
) -> <Self::Output as MatrixKind>::Own<E>
fn mat_mul<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>>( lhs: <DenseRow as MatrixKind>::Ref<'_, LhsE>, rhs: <Scale as MatrixKind>::Ref<'_, RhsE>, ) -> <Self::Output as MatrixKind>::Own<E>
Returns
lhs * rhs
.Source§impl MatMul<Scale> for Scale
impl MatMul<Scale> for Scale
Source§fn mat_mul<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>>(
lhs: <Scale as MatrixKind>::Ref<'_, LhsE>,
rhs: <Scale as MatrixKind>::Ref<'_, RhsE>,
) -> <Self::Output as MatrixKind>::Own<E>
fn mat_mul<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>>( lhs: <Scale as MatrixKind>::Ref<'_, LhsE>, rhs: <Scale as MatrixKind>::Ref<'_, RhsE>, ) -> <Self::Output as MatrixKind>::Own<E>
Returns
lhs * rhs
.Source§impl MatMulAssign<Scale> for Dense
impl MatMulAssign<Scale> for Dense
Source§fn mat_mul_assign<E: ComplexField, RhsE: Conjugate<Canonical = E>>(
lhs: <Dense as MatrixKind>::Mut<'_, E>,
rhs: <Scale as MatrixKind>::Ref<'_, RhsE>,
)
fn mat_mul_assign<E: ComplexField, RhsE: Conjugate<Canonical = E>>( lhs: <Dense as MatrixKind>::Mut<'_, E>, rhs: <Scale as MatrixKind>::Ref<'_, RhsE>, )
Computes
lhs * rhs
and assigns it to lhs
.Source§impl MatMulAssign<Scale> for DenseCol
impl MatMulAssign<Scale> for DenseCol
Source§fn mat_mul_assign<E: ComplexField, RhsE: Conjugate<Canonical = E>>(
lhs: <DenseCol as MatrixKind>::Mut<'_, E>,
rhs: <Scale as MatrixKind>::Ref<'_, RhsE>,
)
fn mat_mul_assign<E: ComplexField, RhsE: Conjugate<Canonical = E>>( lhs: <DenseCol as MatrixKind>::Mut<'_, E>, rhs: <Scale as MatrixKind>::Ref<'_, RhsE>, )
Computes
lhs * rhs
and assigns it to lhs
.Source§impl MatMulAssign<Scale> for DenseRow
impl MatMulAssign<Scale> for DenseRow
Source§fn mat_mul_assign<E: ComplexField, RhsE: Conjugate<Canonical = E>>(
lhs: <DenseRow as MatrixKind>::Mut<'_, E>,
rhs: <Scale as MatrixKind>::Ref<'_, RhsE>,
)
fn mat_mul_assign<E: ComplexField, RhsE: Conjugate<Canonical = E>>( lhs: <DenseRow as MatrixKind>::Mut<'_, E>, rhs: <Scale as MatrixKind>::Ref<'_, RhsE>, )
Computes
lhs * rhs
and assigns it to lhs
.Source§impl MatMulAssign<Scale> for Scale
impl MatMulAssign<Scale> for Scale
Source§fn mat_mul_assign<E: ComplexField, RhsE: Conjugate<Canonical = E>>(
lhs: <Scale as MatrixKind>::Mut<'_, E>,
rhs: <Scale as MatrixKind>::Ref<'_, RhsE>,
)
fn mat_mul_assign<E: ComplexField, RhsE: Conjugate<Canonical = E>>( lhs: <Scale as MatrixKind>::Mut<'_, E>, rhs: <Scale as MatrixKind>::Ref<'_, RhsE>, )
Computes
lhs * rhs
and assigns it to lhs
.Auto Trait Implementations§
impl Freeze for Scale
impl RefUnwindSafe for Scale
impl Send for Scale
impl Sync for Scale
impl Unpin for Scale
impl UnwindSafe for Scale
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