pub trait MatAddAssign<Rhs: MatrixKind>: MatrixKind {
// Required method
fn mat_add_assign<E: ComplexField, RhsE: Conjugate<Canonical = E>>(
lhs: <Self as MatrixKind>::Mut<'_, E>,
rhs: <Rhs as MatrixKind>::Ref<'_, RhsE>,
);
}
Expand description
Matrix addition.
Required Methods§
Sourcefn mat_add_assign<E: ComplexField, RhsE: Conjugate<Canonical = E>>(
lhs: <Self as MatrixKind>::Mut<'_, E>,
rhs: <Rhs as MatrixKind>::Ref<'_, RhsE>,
)
fn mat_add_assign<E: ComplexField, RhsE: Conjugate<Canonical = E>>( lhs: <Self as MatrixKind>::Mut<'_, E>, rhs: <Rhs as MatrixKind>::Ref<'_, RhsE>, )
Computes lhs + rhs
and assigns it to lhs
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.