Scale

Struct Scale 

Source
#[repr(transparent)]
pub struct Scale<T>(pub T);
Expand description

scaling factor for multiplying matrices.

Tuple Fields§

§0: T

Implementations§

Source§

impl<T> Scale<T>

Source

pub fn from_ref(value: &T) -> &Self

create a reference to a scaling factor from a reference to a value.

Source

pub fn from_mut(value: &mut T) -> &mut Self

create a mutable reference to a scaling factor from a mutable reference to a value.

Trait Implementations§

Source§

impl<T: Clone> Clone for Scale<T>

Source§

fn clone(&self) -> Scale<T>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<T: Debug> Debug for Scale<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T: ComplexField, Rows: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, LRStride>>> Div<&Scale<T>> for &Col<L>

Source§

type Output = Col<Own<T, Rows>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: ComplexField, Dim: Shape, LT: Conjugate<Canonical = T>, LStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Dim, LStride>>> Div<&Scale<T>> for &Diag<L>

Source§

type Output = Diag<Own<T, Dim>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, Cols, LRStride, LCStride>>> Div<&Scale<T>> for &Mat<L>

Source§

type Output = Mat<Own<T, Rows, Cols>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, LT: Conjugate<Canonical = T>, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Cols, LCStride>>> Div<&Scale<T>> for &Row<L>

Source§

type Output = Row<Own<T, Cols>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Cols>>> Div<&Scale<T>> for &SparseColMat<L>

Source§

type Output = SparseColMat<Own<I, T, Rows, Cols>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Cols>>> Div<&Scale<T>> for &SparseRowMat<L>

Source§

type Output = SparseRowMat<Own<I, T, Rows, Cols>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, LRStride>>> Div<&Scale<T>> for Col<L>

Source§

type Output = Col<Own<T, Rows>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: ComplexField, Dim: Shape, LT: Conjugate<Canonical = T>, LStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Dim, LStride>>> Div<&Scale<T>> for Diag<L>

Source§

type Output = Diag<Own<T, Dim>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, Cols, LRStride, LCStride>>> Div<&Scale<T>> for Mat<L>

Source§

type Output = Mat<Own<T, Rows, Cols>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, LT: Conjugate<Canonical = T>, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Cols, LCStride>>> Div<&Scale<T>> for Row<L>

Source§

type Output = Row<Own<T, Cols>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Cols>>> Div<&Scale<T>> for SparseColMat<L>

Source§

type Output = SparseColMat<Own<I, T, Rows, Cols>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Cols>>> Div<&Scale<T>> for SparseRowMat<L>

Source§

type Output = SparseRowMat<Own<I, T, Rows, Cols>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, LRStride>>> Div<Scale<T>> for &Col<L>

Source§

type Output = Col<Own<T, Rows>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: ComplexField, Dim: Shape, LT: Conjugate<Canonical = T>, LStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Dim, LStride>>> Div<Scale<T>> for &Diag<L>

Source§

type Output = Diag<Own<T, Dim>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, Cols, LRStride, LCStride>>> Div<Scale<T>> for &Mat<L>

Source§

type Output = Mat<Own<T, Rows, Cols>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, LT: Conjugate<Canonical = T>, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Cols, LCStride>>> Div<Scale<T>> for &Row<L>

Source§

type Output = Row<Own<T, Cols>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Cols>>> Div<Scale<T>> for &SparseColMat<L>

Source§

type Output = SparseColMat<Own<I, T, Rows, Cols>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Cols>>> Div<Scale<T>> for &SparseRowMat<L>

Source§

type Output = SparseRowMat<Own<I, T, Rows, Cols>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, LRStride>>> Div<Scale<T>> for Col<L>

Source§

type Output = Col<Own<T, Rows>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: ComplexField, Dim: Shape, LT: Conjugate<Canonical = T>, LStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Dim, LStride>>> Div<Scale<T>> for Diag<L>

Source§

type Output = Diag<Own<T, Dim>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, Cols, LRStride, LCStride>>> Div<Scale<T>> for Mat<L>

Source§

type Output = Mat<Own<T, Rows, Cols>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, LT: Conjugate<Canonical = T>, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Cols, LCStride>>> Div<Scale<T>> for Row<L>

Source§

type Output = Row<Own<T, Cols>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Cols>>> Div<Scale<T>> for SparseColMat<L>

Source§

type Output = SparseColMat<Own<I, T, Rows, Cols>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Cols>>> Div<Scale<T>> for SparseRowMat<L>

Source§

type Output = SparseRowMat<Own<I, T, Rows, Cols>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Scale<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, LRStride: Stride, L: for<'a> ReborrowMut<'a, Target = Mut<'a, T, Rows, LRStride>>> DivAssign<&Scale<T>> for Col<L>

Source§

fn div_assign(&mut self, rhs: &Scale<T>)

Performs the /= operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, LCStride: Stride, L: for<'a> ReborrowMut<'a, Target = Mut<'a, T, Cols, LCStride>>> DivAssign<&Scale<T>> for Diag<L>

Source§

fn div_assign(&mut self, rhs: &Scale<T>)

Performs the /= operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, Cols: Shape, LRStride: Stride, LCStride: Stride, L: for<'a> ReborrowMut<'a, Target = Mut<'a, T, Rows, Cols, LRStride, LCStride>>> DivAssign<&Scale<T>> for Mat<L>

Source§

fn div_assign(&mut self, rhs: &Scale<T>)

Performs the /= operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, LCStride: Stride, L: for<'a> ReborrowMut<'a, Target = Mut<'a, T, Cols, LCStride>>> DivAssign<&Scale<T>> for Row<L>

Source§

fn div_assign(&mut self, rhs: &Scale<T>)

Performs the /= operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, L: for<'a> ReborrowMut<'a, Target = Mut<'a, I, T, Rows, Cols>>> DivAssign<&Scale<T>> for SparseColMat<L>

Source§

fn div_assign(&mut self, rhs: &Scale<T>)

Performs the /= operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, L: for<'a> ReborrowMut<'a, Target = Mut<'a, I, T, Rows, Cols>>> DivAssign<&Scale<T>> for SparseRowMat<L>

Source§

fn div_assign(&mut self, rhs: &Scale<T>)

Performs the /= operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, LRStride: Stride, L: for<'a> ReborrowMut<'a, Target = Mut<'a, T, Rows, LRStride>>> DivAssign<Scale<T>> for Col<L>

Source§

fn div_assign(&mut self, rhs: Scale<T>)

Performs the /= operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, LCStride: Stride, L: for<'a> ReborrowMut<'a, Target = Mut<'a, T, Cols, LCStride>>> DivAssign<Scale<T>> for Diag<L>

Source§

fn div_assign(&mut self, rhs: Scale<T>)

Performs the /= operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, Cols: Shape, LRStride: Stride, LCStride: Stride, L: for<'a> ReborrowMut<'a, Target = Mut<'a, T, Rows, Cols, LRStride, LCStride>>> DivAssign<Scale<T>> for Mat<L>

Source§

fn div_assign(&mut self, rhs: Scale<T>)

Performs the /= operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, LCStride: Stride, L: for<'a> ReborrowMut<'a, Target = Mut<'a, T, Cols, LCStride>>> DivAssign<Scale<T>> for Row<L>

Source§

fn div_assign(&mut self, rhs: Scale<T>)

Performs the /= operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, L: for<'a> ReborrowMut<'a, Target = Mut<'a, I, T, Rows, Cols>>> DivAssign<Scale<T>> for SparseColMat<L>

Source§

fn div_assign(&mut self, rhs: Scale<T>)

Performs the /= operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, L: for<'a> ReborrowMut<'a, Target = Mut<'a, I, T, Rows, Cols>>> DivAssign<Scale<T>> for SparseRowMat<L>

Source§

fn div_assign(&mut self, rhs: Scale<T>)

Performs the /= operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, RRStride>>> Mul<&Col<R>> for &Scale<T>

Source§

type Output = Col<Own<T, Rows>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Col<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, RRStride>>> Mul<&Col<R>> for Scale<T>

Source§

type Output = Col<Own<T, Rows>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Col<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Dim: Shape, RT: Conjugate<Canonical = T>, RStride: Stride, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Dim, RStride>>> Mul<&Diag<R>> for &Scale<T>

Source§

type Output = Diag<Own<T, Dim>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Diag<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Dim: Shape, RT: Conjugate<Canonical = T>, RStride: Stride, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Dim, RStride>>> Mul<&Diag<R>> for Scale<T>

Source§

type Output = Diag<Own<T, Dim>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Diag<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, RCStride: Stride, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, Cols, RRStride, RCStride>>> Mul<&Mat<R>> for &Scale<T>

Source§

type Output = Mat<Own<T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Mat<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, RCStride: Stride, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, Cols, RRStride, RCStride>>> Mul<&Mat<R>> for Scale<T>

Source§

type Output = Mat<Own<T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Mat<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, RT: Conjugate<Canonical = T>, RCStride: Stride, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Cols, RCStride>>> Mul<&Row<R>> for &Scale<T>

Source§

type Output = Row<Own<T, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Row<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, RT: Conjugate<Canonical = T>, RCStride: Stride, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Cols, RCStride>>> Mul<&Row<R>> for Scale<T>

Source§

type Output = Row<Own<T, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Row<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, LRStride>>> Mul<&Scale<T>> for &Col<L>

Source§

type Output = Col<Own<T, Rows>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Dim: Shape, LT: Conjugate<Canonical = T>, LStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Dim, LStride>>> Mul<&Scale<T>> for &Diag<L>

Source§

type Output = Diag<Own<T, Dim>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, Cols, LRStride, LCStride>>> Mul<&Scale<T>> for &Mat<L>

Source§

type Output = Mat<Own<T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, LT: Conjugate<Canonical = T>, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Cols, LCStride>>> Mul<&Scale<T>> for &Row<L>

Source§

type Output = Row<Own<T, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Cols>>> Mul<&Scale<T>> for &SparseColMat<L>

Source§

type Output = SparseColMat<Own<I, T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Cols>>> Mul<&Scale<T>> for &SparseRowMat<L>

Source§

type Output = SparseRowMat<Own<I, T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, LRStride>>> Mul<&Scale<T>> for Col<L>

Source§

type Output = Col<Own<T, Rows>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Dim: Shape, LT: Conjugate<Canonical = T>, LStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Dim, LStride>>> Mul<&Scale<T>> for Diag<L>

Source§

type Output = Diag<Own<T, Dim>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, Cols, LRStride, LCStride>>> Mul<&Scale<T>> for Mat<L>

Source§

type Output = Mat<Own<T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, LT: Conjugate<Canonical = T>, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Cols, LCStride>>> Mul<&Scale<T>> for Row<L>

Source§

type Output = Row<Own<T, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Cols>>> Mul<&Scale<T>> for SparseColMat<L>

Source§

type Output = SparseColMat<Own<I, T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Cols>>> Mul<&Scale<T>> for SparseRowMat<L>

Source§

type Output = SparseRowMat<Own<I, T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Rows, Cols>>> Mul<&SparseColMat<R>> for &Scale<T>

Source§

type Output = SparseColMat<Own<I, T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &SparseColMat<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Rows, Cols>>> Mul<&SparseColMat<R>> for Scale<T>

Source§

type Output = SparseColMat<Own<I, T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &SparseColMat<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Rows, Cols>>> Mul<&SparseRowMat<R>> for &Scale<T>

Source§

type Output = SparseRowMat<Own<I, T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &SparseRowMat<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Rows, Cols>>> Mul<&SparseRowMat<R>> for Scale<T>

Source§

type Output = SparseRowMat<Own<I, T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &SparseRowMat<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, RRStride>>> Mul<Col<R>> for &Scale<T>

Source§

type Output = Col<Own<T, Rows>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Col<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, RRStride>>> Mul<Col<R>> for Scale<T>

Source§

type Output = Col<Own<T, Rows>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Col<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Dim: Shape, RT: Conjugate<Canonical = T>, RStride: Stride, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Dim, RStride>>> Mul<Diag<R>> for &Scale<T>

Source§

type Output = Diag<Own<T, Dim>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Diag<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Dim: Shape, RT: Conjugate<Canonical = T>, RStride: Stride, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Dim, RStride>>> Mul<Diag<R>> for Scale<T>

Source§

type Output = Diag<Own<T, Dim>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Diag<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, RCStride: Stride, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, Cols, RRStride, RCStride>>> Mul<Mat<R>> for &Scale<T>

Source§

type Output = Mat<Own<T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Mat<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, RCStride: Stride, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, Cols, RRStride, RCStride>>> Mul<Mat<R>> for Scale<T>

Source§

type Output = Mat<Own<T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Mat<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, RT: Conjugate<Canonical = T>, RCStride: Stride, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Cols, RCStride>>> Mul<Row<R>> for &Scale<T>

Source§

type Output = Row<Own<T, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Row<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, RT: Conjugate<Canonical = T>, RCStride: Stride, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Cols, RCStride>>> Mul<Row<R>> for Scale<T>

Source§

type Output = Row<Own<T, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Row<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, LRStride>>> Mul<Scale<T>> for &Col<L>

Source§

type Output = Col<Own<T, Rows>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Dim: Shape, LT: Conjugate<Canonical = T>, LStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Dim, LStride>>> Mul<Scale<T>> for &Diag<L>

Source§

type Output = Diag<Own<T, Dim>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, Cols, LRStride, LCStride>>> Mul<Scale<T>> for &Mat<L>

Source§

type Output = Mat<Own<T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, LT: Conjugate<Canonical = T>, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Cols, LCStride>>> Mul<Scale<T>> for &Row<L>

Source§

type Output = Row<Own<T, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Cols>>> Mul<Scale<T>> for &SparseColMat<L>

Source§

type Output = SparseColMat<Own<I, T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Cols>>> Mul<Scale<T>> for &SparseRowMat<L>

Source§

type Output = SparseRowMat<Own<I, T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, LRStride>>> Mul<Scale<T>> for Col<L>

Source§

type Output = Col<Own<T, Rows>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Dim: Shape, LT: Conjugate<Canonical = T>, LStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Dim, LStride>>> Mul<Scale<T>> for Diag<L>

Source§

type Output = Diag<Own<T, Dim>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, Cols, LRStride, LCStride>>> Mul<Scale<T>> for Mat<L>

Source§

type Output = Mat<Own<T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, LT: Conjugate<Canonical = T>, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Cols, LCStride>>> Mul<Scale<T>> for Row<L>

Source§

type Output = Row<Own<T, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Cols>>> Mul<Scale<T>> for SparseColMat<L>

Source§

type Output = SparseColMat<Own<I, T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Cols>>> Mul<Scale<T>> for SparseRowMat<L>

Source§

type Output = SparseRowMat<Own<I, T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Scale<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Rows, Cols>>> Mul<SparseColMat<R>> for &Scale<T>

Source§

type Output = SparseColMat<Own<I, T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: SparseColMat<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Rows, Cols>>> Mul<SparseColMat<R>> for Scale<T>

Source§

type Output = SparseColMat<Own<I, T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: SparseColMat<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Rows, Cols>>> Mul<SparseRowMat<R>> for &Scale<T>

Source§

type Output = SparseRowMat<Own<I, T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: SparseRowMat<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Rows, Cols>>> Mul<SparseRowMat<R>> for Scale<T>

Source§

type Output = SparseRowMat<Own<I, T, Rows, Cols>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: SparseRowMat<R>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, LRStride: Stride, L: for<'a> ReborrowMut<'a, Target = Mut<'a, T, Rows, LRStride>>> MulAssign<&Scale<T>> for Col<L>

Source§

fn mul_assign(&mut self, rhs: &Scale<T>)

Performs the *= operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, LCStride: Stride, L: for<'a> ReborrowMut<'a, Target = Mut<'a, T, Cols, LCStride>>> MulAssign<&Scale<T>> for Diag<L>

Source§

fn mul_assign(&mut self, rhs: &Scale<T>)

Performs the *= operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, Cols: Shape, LRStride: Stride, LCStride: Stride, L: for<'a> ReborrowMut<'a, Target = Mut<'a, T, Rows, Cols, LRStride, LCStride>>> MulAssign<&Scale<T>> for Mat<L>

Source§

fn mul_assign(&mut self, rhs: &Scale<T>)

Performs the *= operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, LCStride: Stride, L: for<'a> ReborrowMut<'a, Target = Mut<'a, T, Cols, LCStride>>> MulAssign<&Scale<T>> for Row<L>

Source§

fn mul_assign(&mut self, rhs: &Scale<T>)

Performs the *= operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, L: for<'a> ReborrowMut<'a, Target = Mut<'a, I, T, Rows, Cols>>> MulAssign<&Scale<T>> for SparseColMat<L>

Source§

fn mul_assign(&mut self, rhs: &Scale<T>)

Performs the *= operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, L: for<'a> ReborrowMut<'a, Target = Mut<'a, I, T, Rows, Cols>>> MulAssign<&Scale<T>> for SparseRowMat<L>

Source§

fn mul_assign(&mut self, rhs: &Scale<T>)

Performs the *= operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, LRStride: Stride, L: for<'a> ReborrowMut<'a, Target = Mut<'a, T, Rows, LRStride>>> MulAssign<Scale<T>> for Col<L>

Source§

fn mul_assign(&mut self, rhs: Scale<T>)

Performs the *= operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, LCStride: Stride, L: for<'a> ReborrowMut<'a, Target = Mut<'a, T, Cols, LCStride>>> MulAssign<Scale<T>> for Diag<L>

Source§

fn mul_assign(&mut self, rhs: Scale<T>)

Performs the *= operation. Read more
Source§

impl<T: ComplexField, Rows: Shape, Cols: Shape, LRStride: Stride, LCStride: Stride, L: for<'a> ReborrowMut<'a, Target = Mut<'a, T, Rows, Cols, LRStride, LCStride>>> MulAssign<Scale<T>> for Mat<L>

Source§

fn mul_assign(&mut self, rhs: Scale<T>)

Performs the *= operation. Read more
Source§

impl<T: ComplexField, Cols: Shape, LCStride: Stride, L: for<'a> ReborrowMut<'a, Target = Mut<'a, T, Cols, LCStride>>> MulAssign<Scale<T>> for Row<L>

Source§

fn mul_assign(&mut self, rhs: Scale<T>)

Performs the *= operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, L: for<'a> ReborrowMut<'a, Target = Mut<'a, I, T, Rows, Cols>>> MulAssign<Scale<T>> for SparseColMat<L>

Source§

fn mul_assign(&mut self, rhs: Scale<T>)

Performs the *= operation. Read more
Source§

impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, L: for<'a> ReborrowMut<'a, Target = Mut<'a, I, T, Rows, Cols>>> MulAssign<Scale<T>> for SparseRowMat<L>

Source§

fn mul_assign(&mut self, rhs: Scale<T>)

Performs the *= operation. Read more
Source§

impl<T: Copy> Copy for Scale<T>

Auto Trait Implementations§

§

impl<T> Freeze for Scale<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for Scale<T>
where T: RefUnwindSafe,

§

impl<T> Send for Scale<T>
where T: Send,

§

impl<T> Sync for Scale<T>
where T: Sync,

§

impl<T> Unpin for Scale<T>
where T: Unpin,

§

impl<T> UnwindSafe for Scale<T>
where T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> ByRef<T> for T

Source§

fn by_ref(&self) -> &T

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DistributionExt for T
where T: ?Sized,

Source§

fn rand<T>(&self, rng: &mut (impl ?Sized + Rng)) -> T
where Self: Distribution<T>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<Rhs, Lhs, Output> MulByRef<Rhs> for Lhs
where &'a Lhs: for<'a> Mul<&'a Rhs, Output = Output>,

Source§

type Output = Output

Source§

fn mul_by_ref(&self, rhs: &Rhs) -> <Lhs as MulByRef<Rhs>>::Output

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V