Struct faer::diag::Diag

source ·
pub struct Diag<E: Entity> { /* private fields */ }
Expand description

Diagonal matrix.

Implementations§

source§

impl<E: Entity> Diag<E>

source

pub fn column_vector(&self) -> ColRef<'_, E>

Returns the diagonal as a column vector view.

source

pub fn column_vector_mut(&mut self) -> ColMut<'_, E>

Returns the diagonal as a mutable column vector view.

source

pub fn into_column_vector(self) -> Col<E>

Returns the diagonal as a column vector.

source

pub fn as_ref(&self) -> DiagRef<'_, E>

Returns a view over self.

source

pub fn as_mut(&mut self) -> DiagMut<'_, E>

Returns a mutable view over self.

Trait Implementations§

source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&Diag<RhsE>> for &Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: &Diag<RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&Diag<RhsE>> for &DiagMut<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: &Diag<RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&Diag<RhsE>> for &DiagRef<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: &Diag<RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&Diag<RhsE>> for Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: &Diag<RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&Diag<RhsE>> for DiagMut<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: &Diag<RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&Diag<RhsE>> for DiagRef<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: &Diag<RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&DiagMut<'_, RhsE>> for &Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: &DiagMut<'_, RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&DiagMut<'_, RhsE>> for Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: &DiagMut<'_, RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&DiagRef<'_, RhsE>> for &Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: &DiagRef<'_, RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&DiagRef<'_, RhsE>> for Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: &DiagRef<'_, RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<Diag<RhsE>> for &Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: Diag<RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<Diag<RhsE>> for &DiagMut<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: Diag<RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<Diag<RhsE>> for &DiagRef<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: Diag<RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<Diag<RhsE>> for Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: Diag<RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<Diag<RhsE>> for DiagMut<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: Diag<RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<Diag<RhsE>> for DiagRef<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: Diag<RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<DiagMut<'_, RhsE>> for &Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: DiagMut<'_, RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<DiagMut<'_, RhsE>> for Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: DiagMut<'_, RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<DiagRef<'_, RhsE>> for &Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: DiagRef<'_, RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<DiagRef<'_, RhsE>> for Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the + operator.
source§

fn add(self, other: DiagRef<'_, RhsE>) -> Self::Output

Performs the + operation. Read more
source§

impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<&Diag<RhsE>> for Diag<LhsE>

source§

fn add_assign(&mut self, other: &Diag<RhsE>)

Performs the += operation. Read more
source§

impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<&Diag<RhsE>> for DiagMut<'_, LhsE>

source§

fn add_assign(&mut self, other: &Diag<RhsE>)

Performs the += operation. Read more
source§

impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<&DiagMut<'_, RhsE>> for Diag<LhsE>

source§

fn add_assign(&mut self, other: &DiagMut<'_, RhsE>)

Performs the += operation. Read more
source§

impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<&DiagRef<'_, RhsE>> for Diag<LhsE>

source§

fn add_assign(&mut self, other: &DiagRef<'_, RhsE>)

Performs the += operation. Read more
source§

impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<Diag<RhsE>> for Diag<LhsE>

source§

fn add_assign(&mut self, other: Diag<RhsE>)

Performs the += operation. Read more
source§

impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<Diag<RhsE>> for DiagMut<'_, LhsE>

source§

fn add_assign(&mut self, other: Diag<RhsE>)

Performs the += operation. Read more
source§

impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<DiagMut<'_, RhsE>> for Diag<LhsE>

source§

fn add_assign(&mut self, other: DiagMut<'_, RhsE>)

Performs the += operation. Read more
source§

impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<DiagRef<'_, RhsE>> for Diag<LhsE>

source§

fn add_assign(&mut self, other: DiagRef<'_, RhsE>)

Performs the += operation. Read more
source§

impl<E: ComplexField, ViewE: Conjugate<Canonical = E>> BiLinOp<E> for Diag<ViewE>

Available on crate feature unstable only.
source§

fn transpose_apply_req( &self, rhs_ncols: usize, parallelism: Parallelism<'_> ) -> Result<StackReq, SizeOverflow>

Computes the workspace size and alignment required to apply the transpose or adjoint of self to a matrix with rhs_ncols columns.
source§

fn transpose_apply( &self, out: MatMut<'_, E>, rhs: MatRef<'_, E>, parallelism: Parallelism<'_>, stack: PodStack<'_> )

Applies the transpose of self to rhs, and stores the result in out.
source§

fn adjoint_apply( &self, out: MatMut<'_, E>, rhs: MatRef<'_, E>, parallelism: Parallelism<'_>, stack: PodStack<'_> )

Applies the adjoint of self to rhs, and stores the result in out.
source§

impl<E: ComplexField, ViewE: Conjugate<Canonical = E>> BiPrecond<E> for Diag<ViewE>

Available on crate feature unstable only.
source§

fn transpose_apply_in_place_req( &self, rhs_ncols: usize, parallelism: Parallelism<'_> ) -> Result<StackReq, SizeOverflow>

Computes the workspace size and alignment required to apply the transpose or adjoint of self to a matrix with rhs_ncols columns in place.
source§

fn transpose_apply_in_place( &self, rhs: MatMut<'_, E>, parallelism: Parallelism<'_>, stack: PodStack<'_> )

Applies the transpose of self to rhs, and stores the result in rhs.
source§

fn adjoint_apply_in_place( &self, rhs: MatMut<'_, E>, parallelism: Parallelism<'_>, stack: PodStack<'_> )

Applies the adjoint of self to rhs, and stores the result in rhs.
source§

impl<E: Debug + Entity> Debug for Diag<E>

source§

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

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

impl<E: ComplexField, ViewE: Conjugate<Canonical = E>> LinOp<E> for Diag<ViewE>

Available on crate feature unstable only.
source§

fn apply_req( &self, rhs_ncols: usize, parallelism: Parallelism<'_> ) -> Result<StackReq, SizeOverflow>

Computes the workspace size and alignment required to apply self or the conjugate of self to a matrix with rhs_ncols columns.
source§

fn nrows(&self) -> usize

Output dimension of the operator.
source§

fn ncols(&self) -> usize

Input dimension of the operator.
source§

fn apply( &self, out: MatMut<'_, E>, rhs: MatRef<'_, E>, parallelism: Parallelism<'_>, stack: PodStack<'_> )

Applies self to rhs, and stores the result in out.
source§

fn conj_apply( &self, out: MatMut<'_, E>, rhs: MatRef<'_, E>, parallelism: Parallelism<'_>, stack: PodStack<'_> )

Applies the conjugate of self to rhs, and stores the result in out.
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Col<RhsE>> for &Diag<LhsE>

§

type Output = Col<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Col<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Col<RhsE>> for Diag<LhsE>

§

type Output = Col<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Col<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&ColMut<'_, RhsE>> for &Diag<LhsE>

§

type Output = Col<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &ColMut<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&ColMut<'_, RhsE>> for Diag<LhsE>

§

type Output = Col<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &ColMut<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&ColRef<'_, RhsE>> for &Diag<LhsE>

§

type Output = Col<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &ColRef<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&ColRef<'_, RhsE>> for Diag<LhsE>

§

type Output = Col<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &ColRef<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &DiagMut<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &DiagRef<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &Mat<LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &MatMut<'_, LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &MatRef<'_, LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &Row<LhsE>

§

type Output = Row<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &RowMut<'_, LhsE>

§

type Output = Row<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &RowRef<'_, LhsE>

§

type Output = Row<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for DiagMut<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for DiagRef<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for Mat<LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for MatMut<'_, LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for MatRef<'_, LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for Row<LhsE>

§

type Output = Row<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for RowMut<'_, LhsE>

§

type Output = Row<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for RowRef<'_, LhsE>

§

type Output = Row<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for Scale<LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&DiagMut<'_, RhsE>> for &Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &DiagMut<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&DiagMut<'_, RhsE>> for Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &DiagMut<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&DiagRef<'_, RhsE>> for &Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &DiagRef<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&DiagRef<'_, RhsE>> for Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &DiagRef<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Mat<RhsE>> for &Diag<LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Mat<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Mat<RhsE>> for Diag<LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Mat<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&MatMut<'_, RhsE>> for &Diag<LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &MatMut<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&MatMut<'_, RhsE>> for Diag<LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &MatMut<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&MatRef<'_, RhsE>> for &Diag<LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &MatRef<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&MatRef<'_, RhsE>> for Diag<LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: &MatRef<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Col<RhsE>> for &Diag<LhsE>

§

type Output = Col<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Col<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Col<RhsE>> for Diag<LhsE>

§

type Output = Col<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Col<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<ColMut<'_, RhsE>> for &Diag<LhsE>

§

type Output = Col<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: ColMut<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<ColMut<'_, RhsE>> for Diag<LhsE>

§

type Output = Col<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: ColMut<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<ColRef<'_, RhsE>> for &Diag<LhsE>

§

type Output = Col<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: ColRef<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<ColRef<'_, RhsE>> for Diag<LhsE>

§

type Output = Col<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: ColRef<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &DiagMut<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &DiagRef<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &Mat<LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &MatMut<'_, LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &MatRef<'_, LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &Row<LhsE>

§

type Output = Row<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &RowMut<'_, LhsE>

§

type Output = Row<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &RowRef<'_, LhsE>

§

type Output = Row<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for DiagMut<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for DiagRef<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for Mat<LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for MatMut<'_, LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for MatRef<'_, LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for Row<LhsE>

§

type Output = Row<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for RowMut<'_, LhsE>

§

type Output = Row<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for RowRef<'_, LhsE>

§

type Output = Row<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for Scale<LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Diag<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<DiagMut<'_, RhsE>> for &Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: DiagMut<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<DiagMut<'_, RhsE>> for Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: DiagMut<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<DiagRef<'_, RhsE>> for &Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: DiagRef<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<DiagRef<'_, RhsE>> for Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: DiagRef<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Mat<RhsE>> for &Diag<LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Mat<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Mat<RhsE>> for Diag<LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Mat<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<MatMut<'_, RhsE>> for &Diag<LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: MatMut<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<MatMut<'_, RhsE>> for Diag<LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: MatMut<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<MatRef<'_, RhsE>> for &Diag<LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: MatRef<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<MatRef<'_, RhsE>> for Diag<LhsE>

§

type Output = Mat<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: MatRef<'_, RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Scale<RhsE>> for &Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Scale<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Scale<RhsE>> for Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the * operator.
source§

fn mul(self, other: Scale<RhsE>) -> Self::Output

Performs the * operation. Read more
source§

impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> MulAssign<Scale<RhsE>> for Diag<LhsE>

source§

fn mul_assign(&mut self, other: Scale<RhsE>)

Performs the *= operation. Read more
source§

impl<E: Conjugate> Neg for &Diag<E>

§

type Output = Diag<<E as Conjugate>::Canonical>

The resulting type after applying the - operator.
source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
source§

impl<E: Conjugate> Neg for Diag<E>

§

type Output = Diag<<E as Conjugate>::Canonical>

The resulting type after applying the - operator.
source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
source§

impl<LhsE: Conjugate, RhsE: Conjugate<Canonical = LhsE::Canonical>> PartialEq<Diag<RhsE>> for Diag<LhsE>

source§

fn eq(&self, other: &Diag<RhsE>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<LhsE: Conjugate, RhsE: Conjugate<Canonical = LhsE::Canonical>> PartialEq<Diag<RhsE>> for DiagMut<'_, LhsE>

source§

fn eq(&self, other: &Diag<RhsE>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<LhsE: Conjugate, RhsE: Conjugate<Canonical = LhsE::Canonical>> PartialEq<Diag<RhsE>> for DiagRef<'_, LhsE>

source§

fn eq(&self, other: &Diag<RhsE>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<LhsE: Conjugate, RhsE: Conjugate<Canonical = LhsE::Canonical>> PartialEq<DiagMut<'_, RhsE>> for Diag<LhsE>

source§

fn eq(&self, other: &DiagMut<'_, RhsE>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<LhsE: Conjugate, RhsE: Conjugate<Canonical = LhsE::Canonical>> PartialEq<DiagRef<'_, RhsE>> for Diag<LhsE>

source§

fn eq(&self, other: &DiagRef<'_, RhsE>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<E: ComplexField, ViewE: Conjugate<Canonical = E>> Precond<E> for Diag<ViewE>

Available on crate feature unstable only.
source§

fn apply_in_place_req( &self, rhs_ncols: usize, parallelism: Parallelism<'_> ) -> Result<StackReq, SizeOverflow>

Computes the workspace size and alignment required to apply self or the conjugate of self to a matrix with rhs_ncols columns in place.
source§

fn apply_in_place( &self, rhs: MatMut<'_, E>, parallelism: Parallelism<'_>, stack: PodStack<'_> )

Applies self to rhs, and stores the result in rhs.
source§

fn conj_apply_in_place( &self, rhs: MatMut<'_, E>, parallelism: Parallelism<'_>, stack: PodStack<'_> )

Applies the conjugate of self to rhs, and stores the result in rhs.
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&Diag<RhsE>> for &Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: &Diag<RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&Diag<RhsE>> for &DiagMut<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: &Diag<RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&Diag<RhsE>> for &DiagRef<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: &Diag<RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&Diag<RhsE>> for Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: &Diag<RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&Diag<RhsE>> for DiagMut<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: &Diag<RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&Diag<RhsE>> for DiagRef<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: &Diag<RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&DiagMut<'_, RhsE>> for &Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: &DiagMut<'_, RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&DiagMut<'_, RhsE>> for Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: &DiagMut<'_, RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&DiagRef<'_, RhsE>> for &Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: &DiagRef<'_, RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&DiagRef<'_, RhsE>> for Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: &DiagRef<'_, RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<Diag<RhsE>> for &Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: Diag<RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<Diag<RhsE>> for &DiagMut<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: Diag<RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<Diag<RhsE>> for &DiagRef<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: Diag<RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<Diag<RhsE>> for Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: Diag<RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<Diag<RhsE>> for DiagMut<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: Diag<RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<Diag<RhsE>> for DiagRef<'_, LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: Diag<RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<DiagMut<'_, RhsE>> for &Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: DiagMut<'_, RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<DiagMut<'_, RhsE>> for Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: DiagMut<'_, RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<DiagRef<'_, RhsE>> for &Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: DiagRef<'_, RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<DiagRef<'_, RhsE>> for Diag<LhsE>

§

type Output = Diag<E>

The resulting type after applying the - operator.
source§

fn sub(self, other: DiagRef<'_, RhsE>) -> Self::Output

Performs the - operation. Read more
source§

impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<&Diag<RhsE>> for Diag<LhsE>

source§

fn sub_assign(&mut self, other: &Diag<RhsE>)

Performs the -= operation. Read more
source§

impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<&Diag<RhsE>> for DiagMut<'_, LhsE>

source§

fn sub_assign(&mut self, other: &Diag<RhsE>)

Performs the -= operation. Read more
source§

impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<&DiagMut<'_, RhsE>> for Diag<LhsE>

source§

fn sub_assign(&mut self, other: &DiagMut<'_, RhsE>)

Performs the -= operation. Read more
source§

impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<&DiagRef<'_, RhsE>> for Diag<LhsE>

source§

fn sub_assign(&mut self, other: &DiagRef<'_, RhsE>)

Performs the -= operation. Read more
source§

impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<Diag<RhsE>> for Diag<LhsE>

source§

fn sub_assign(&mut self, other: Diag<RhsE>)

Performs the -= operation. Read more
source§

impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<Diag<RhsE>> for DiagMut<'_, LhsE>

source§

fn sub_assign(&mut self, other: Diag<RhsE>)

Performs the -= operation. Read more
source§

impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<DiagMut<'_, RhsE>> for Diag<LhsE>

source§

fn sub_assign(&mut self, other: DiagMut<'_, RhsE>)

Performs the -= operation. Read more
source§

impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<DiagRef<'_, RhsE>> for Diag<LhsE>

source§

fn sub_assign(&mut self, other: DiagRef<'_, RhsE>)

Performs the -= operation. Read more

Auto Trait Implementations§

§

impl<E> Freeze for Diag<E>
where <<E as Entity>::Group as ForCopyType>::FaerOfCopy<NonNull<<E as Entity>::Unit>>: Freeze,

§

impl<E> RefUnwindSafe for Diag<E>

§

impl<E> Send for Diag<E>

§

impl<E> Sync for Diag<E>

§

impl<E> Unpin for Diag<E>
where <<E as Entity>::Group as ForCopyType>::FaerOfCopy<NonNull<<E as Entity>::Unit>>: Unpin, E: Unpin,

§

impl<E> UnwindSafe for Diag<E>

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> 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<T> Pointable for T

source§

const ALIGN: usize = _

The alignment of pointer.
§

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, U> TryFrom<U> for T
where U: Into<T>,

§

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>,

§

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.