pub trait AsDiagMut: AsDiagRef {
// Required method
fn as_diag_mut(&mut self) -> DiagMut<'_, Self::T, Self::Dim>;
}Expand description
trait for types that can be converted to a diagonal matrix view.
Required Methods§
Sourcefn as_diag_mut(&mut self) -> DiagMut<'_, Self::T, Self::Dim>
fn as_diag_mut(&mut self) -> DiagMut<'_, Self::T, Self::Dim>
returns a view over self