pub struct Diag<E: Entity> { /* private fields */ }
Expand description
Diagonal matrix.
Implementations§
source§impl<E: Entity> Diag<E>
impl<E: Entity> Diag<E>
sourcepub fn column_vector(&self) -> ColRef<'_, E>
pub fn column_vector(&self) -> ColRef<'_, E>
Returns the diagonal as a column vector view.
sourcepub fn column_vector_mut(&mut self) -> ColMut<'_, E>
pub fn column_vector_mut(&mut self) -> ColMut<'_, E>
Returns the diagonal as a mutable column vector view.
sourcepub fn into_column_vector(self) -> Col<E>
pub fn into_column_vector(self) -> Col<E>
Returns the diagonal as a column vector.
Trait Implementations§
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&Diag<RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&Diag<RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&Diag<RhsE>> for &DiagMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&Diag<RhsE>> for &DiagMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&Diag<RhsE>> for &DiagRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&Diag<RhsE>> for &DiagRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&Diag<RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&Diag<RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&Diag<RhsE>> for DiagMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&Diag<RhsE>> for DiagMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&Diag<RhsE>> for DiagRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&Diag<RhsE>> for DiagRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&DiagMut<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&DiagMut<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&DiagMut<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&DiagMut<'_, RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&DiagRef<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&DiagRef<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&DiagRef<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<&DiagRef<'_, RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<Diag<RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<Diag<RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<Diag<RhsE>> for &DiagMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<Diag<RhsE>> for &DiagMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<Diag<RhsE>> for &DiagRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<Diag<RhsE>> for &DiagRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<Diag<RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<Diag<RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<Diag<RhsE>> for DiagMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<Diag<RhsE>> for DiagMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<Diag<RhsE>> for DiagRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<Diag<RhsE>> for DiagRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<DiagMut<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<DiagMut<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<DiagMut<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<DiagMut<'_, RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<DiagRef<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<DiagRef<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<DiagRef<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Add<DiagRef<'_, RhsE>> for Diag<LhsE>
source§impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<&Diag<RhsE>> for Diag<LhsE>
impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<&Diag<RhsE>> for Diag<LhsE>
source§fn add_assign(&mut self, other: &Diag<RhsE>)
fn add_assign(&mut self, other: &Diag<RhsE>)
Performs the
+=
operation. Read moresource§impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<&Diag<RhsE>> for DiagMut<'_, LhsE>
impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<&Diag<RhsE>> for DiagMut<'_, LhsE>
source§fn add_assign(&mut self, other: &Diag<RhsE>)
fn add_assign(&mut self, other: &Diag<RhsE>)
Performs the
+=
operation. Read moresource§impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<&DiagMut<'_, RhsE>> for Diag<LhsE>
impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<&DiagMut<'_, RhsE>> for Diag<LhsE>
source§fn add_assign(&mut self, other: &DiagMut<'_, RhsE>)
fn add_assign(&mut self, other: &DiagMut<'_, RhsE>)
Performs the
+=
operation. Read moresource§impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<&DiagRef<'_, RhsE>> for Diag<LhsE>
impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<&DiagRef<'_, RhsE>> for Diag<LhsE>
source§fn add_assign(&mut self, other: &DiagRef<'_, RhsE>)
fn add_assign(&mut self, other: &DiagRef<'_, RhsE>)
Performs the
+=
operation. Read moresource§impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<Diag<RhsE>> for Diag<LhsE>
impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<Diag<RhsE>> for Diag<LhsE>
source§fn add_assign(&mut self, other: Diag<RhsE>)
fn add_assign(&mut self, other: Diag<RhsE>)
Performs the
+=
operation. Read moresource§impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<Diag<RhsE>> for DiagMut<'_, LhsE>
impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<Diag<RhsE>> for DiagMut<'_, LhsE>
source§fn add_assign(&mut self, other: Diag<RhsE>)
fn add_assign(&mut self, other: Diag<RhsE>)
Performs the
+=
operation. Read moresource§impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<DiagMut<'_, RhsE>> for Diag<LhsE>
impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<DiagMut<'_, RhsE>> for Diag<LhsE>
source§fn add_assign(&mut self, other: DiagMut<'_, RhsE>)
fn add_assign(&mut self, other: DiagMut<'_, RhsE>)
Performs the
+=
operation. Read moresource§impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<DiagRef<'_, RhsE>> for Diag<LhsE>
impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> AddAssign<DiagRef<'_, RhsE>> for Diag<LhsE>
source§fn add_assign(&mut self, other: DiagRef<'_, RhsE>)
fn add_assign(&mut self, other: DiagRef<'_, RhsE>)
Performs the
+=
operation. Read moresource§impl<E: ComplexField, ViewE: Conjugate<Canonical = E>> BiLinOp<E> for Diag<ViewE>
Available on crate feature unstable
only.
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>
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<'_>
)
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<'_>
)
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.
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>
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<'_>
)
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<'_>
)
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: ComplexField, ViewE: Conjugate<Canonical = E>> LinOp<E> for Diag<ViewE>
Available on crate feature unstable
only.
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>
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 apply(
&self,
out: MatMut<'_, E>,
rhs: MatRef<'_, E>,
parallelism: Parallelism<'_>,
stack: PodStack<'_>
)
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<'_>
)
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>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Col<RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Col<RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Col<RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&ColMut<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&ColMut<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&ColMut<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&ColMut<'_, RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&ColRef<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&ColRef<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&ColRef<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&ColRef<'_, RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &DiagMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &DiagMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &DiagRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &DiagRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &Mat<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &Mat<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &MatMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &MatMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &MatRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &MatRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &Row<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &Row<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &RowMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &RowMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &RowRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for &RowRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for DiagMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for DiagMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for DiagRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for DiagRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for Mat<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for Mat<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for MatMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for MatMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for MatRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for MatRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for Row<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for Row<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for RowMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for RowMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for RowRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for RowRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for Scale<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Diag<RhsE>> for Scale<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&DiagMut<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&DiagMut<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&DiagMut<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&DiagMut<'_, RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&DiagRef<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&DiagRef<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&DiagRef<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&DiagRef<'_, RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Mat<RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Mat<RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Mat<RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&Mat<RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&MatMut<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&MatMut<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&MatMut<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&MatMut<'_, RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&MatRef<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&MatRef<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&MatRef<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<&MatRef<'_, RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Col<RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Col<RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Col<RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Col<RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<ColMut<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<ColMut<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<ColMut<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<ColMut<'_, RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<ColRef<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<ColRef<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<ColRef<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<ColRef<'_, RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &DiagMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &DiagMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &DiagRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &DiagRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &Mat<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &Mat<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &MatMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &MatMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &MatRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &MatRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &Row<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &Row<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &RowMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &RowMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &RowRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for &RowRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for DiagMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for DiagMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for DiagRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for DiagRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for Mat<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for Mat<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for MatMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for MatMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for MatRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for MatRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for Row<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for Row<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for RowMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for RowMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for RowRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for RowRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for Scale<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Diag<RhsE>> for Scale<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<DiagMut<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<DiagMut<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<DiagMut<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<DiagMut<'_, RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<DiagRef<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<DiagRef<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<DiagRef<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<DiagRef<'_, RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Mat<RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Mat<RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Mat<RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Mat<RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<MatMut<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<MatMut<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<MatMut<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<MatMut<'_, RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<MatRef<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<MatRef<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<MatRef<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<MatRef<'_, RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Scale<RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Scale<RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Scale<RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Mul<Scale<RhsE>> for Diag<LhsE>
source§impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> MulAssign<Scale<RhsE>> for Diag<LhsE>
impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> MulAssign<Scale<RhsE>> for Diag<LhsE>
source§fn mul_assign(&mut self, other: Scale<RhsE>)
fn mul_assign(&mut self, other: Scale<RhsE>)
Performs the
*=
operation. Read moresource§impl<LhsE: Conjugate, RhsE: Conjugate<Canonical = LhsE::Canonical>> PartialEq<Diag<RhsE>> for Diag<LhsE>
impl<LhsE: Conjugate, RhsE: Conjugate<Canonical = LhsE::Canonical>> PartialEq<Diag<RhsE>> for Diag<LhsE>
source§impl<LhsE: Conjugate, RhsE: Conjugate<Canonical = LhsE::Canonical>> PartialEq<Diag<RhsE>> for DiagMut<'_, LhsE>
impl<LhsE: Conjugate, RhsE: Conjugate<Canonical = LhsE::Canonical>> PartialEq<Diag<RhsE>> for DiagMut<'_, LhsE>
source§impl<LhsE: Conjugate, RhsE: Conjugate<Canonical = LhsE::Canonical>> PartialEq<Diag<RhsE>> for DiagRef<'_, LhsE>
impl<LhsE: Conjugate, RhsE: Conjugate<Canonical = LhsE::Canonical>> PartialEq<Diag<RhsE>> for DiagRef<'_, LhsE>
source§impl<LhsE: Conjugate, RhsE: Conjugate<Canonical = LhsE::Canonical>> PartialEq<DiagMut<'_, RhsE>> for Diag<LhsE>
impl<LhsE: Conjugate, RhsE: Conjugate<Canonical = LhsE::Canonical>> PartialEq<DiagMut<'_, RhsE>> for Diag<LhsE>
source§impl<LhsE: Conjugate, RhsE: Conjugate<Canonical = LhsE::Canonical>> PartialEq<DiagRef<'_, RhsE>> for Diag<LhsE>
impl<LhsE: Conjugate, RhsE: Conjugate<Canonical = LhsE::Canonical>> PartialEq<DiagRef<'_, RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, ViewE: Conjugate<Canonical = E>> Precond<E> for Diag<ViewE>
Available on crate feature unstable
only.
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>
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<'_>
)
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<'_>
)
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>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&Diag<RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&Diag<RhsE>> for &DiagMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&Diag<RhsE>> for &DiagMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&Diag<RhsE>> for &DiagRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&Diag<RhsE>> for &DiagRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&Diag<RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&Diag<RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&Diag<RhsE>> for DiagMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&Diag<RhsE>> for DiagMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&Diag<RhsE>> for DiagRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&Diag<RhsE>> for DiagRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&DiagMut<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&DiagMut<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&DiagMut<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&DiagMut<'_, RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&DiagRef<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&DiagRef<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&DiagRef<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<&DiagRef<'_, RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<Diag<RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<Diag<RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<Diag<RhsE>> for &DiagMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<Diag<RhsE>> for &DiagMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<Diag<RhsE>> for &DiagRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<Diag<RhsE>> for &DiagRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<Diag<RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<Diag<RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<Diag<RhsE>> for DiagMut<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<Diag<RhsE>> for DiagMut<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<Diag<RhsE>> for DiagRef<'_, LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<Diag<RhsE>> for DiagRef<'_, LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<DiagMut<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<DiagMut<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<DiagMut<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<DiagMut<'_, RhsE>> for Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<DiagRef<'_, RhsE>> for &Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<DiagRef<'_, RhsE>> for &Diag<LhsE>
source§impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<DiagRef<'_, RhsE>> for Diag<LhsE>
impl<E: ComplexField, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>> Sub<DiagRef<'_, RhsE>> for Diag<LhsE>
source§impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<&Diag<RhsE>> for Diag<LhsE>
impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<&Diag<RhsE>> for Diag<LhsE>
source§fn sub_assign(&mut self, other: &Diag<RhsE>)
fn sub_assign(&mut self, other: &Diag<RhsE>)
Performs the
-=
operation. Read moresource§impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<&Diag<RhsE>> for DiagMut<'_, LhsE>
impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<&Diag<RhsE>> for DiagMut<'_, LhsE>
source§fn sub_assign(&mut self, other: &Diag<RhsE>)
fn sub_assign(&mut self, other: &Diag<RhsE>)
Performs the
-=
operation. Read moresource§impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<&DiagMut<'_, RhsE>> for Diag<LhsE>
impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<&DiagMut<'_, RhsE>> for Diag<LhsE>
source§fn sub_assign(&mut self, other: &DiagMut<'_, RhsE>)
fn sub_assign(&mut self, other: &DiagMut<'_, RhsE>)
Performs the
-=
operation. Read moresource§impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<&DiagRef<'_, RhsE>> for Diag<LhsE>
impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<&DiagRef<'_, RhsE>> for Diag<LhsE>
source§fn sub_assign(&mut self, other: &DiagRef<'_, RhsE>)
fn sub_assign(&mut self, other: &DiagRef<'_, RhsE>)
Performs the
-=
operation. Read moresource§impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<Diag<RhsE>> for Diag<LhsE>
impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<Diag<RhsE>> for Diag<LhsE>
source§fn sub_assign(&mut self, other: Diag<RhsE>)
fn sub_assign(&mut self, other: Diag<RhsE>)
Performs the
-=
operation. Read moresource§impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<Diag<RhsE>> for DiagMut<'_, LhsE>
impl<LhsE: ComplexField, RhsE: Conjugate<Canonical = LhsE>> SubAssign<Diag<RhsE>> for DiagMut<'_, LhsE>
source§fn sub_assign(&mut self, other: Diag<RhsE>)
fn sub_assign(&mut self, other: Diag<RhsE>)
Performs the
-=
operation. Read moreAuto Trait Implementations§
impl<E> Freeze for Diag<E>
impl<E> RefUnwindSafe for Diag<E>where
<<E as Entity>::Group as ForCopyType>::FaerOfCopy<NonNull<<E as Entity>::Unit>>: RefUnwindSafe,
E: RefUnwindSafe,
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>where
<<E as Entity>::Group as ForCopyType>::FaerOfCopy<NonNull<<E as Entity>::Unit>>: UnwindSafe,
E: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> 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