pub struct Matrix { /* private fields */ }Expand description
Abstracts over matrices.
Implementations
sourceimpl Matrix
impl Matrix
sourcepub fn scalar_multiply(&self, scalar: f64) -> Self
pub fn scalar_multiply(&self, scalar: f64) -> Self
Multiplies the given matrix by the given scalar, returning a new matrix.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Matrix
impl Send for Matrix
impl Sync for Matrix
impl Unpin for Matrix
impl UnwindSafe for Matrix
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more