pub trait Scal: Sized {
// Required methods
fn scal<V: ?Sized + Vector<Self>>(alpha: &Self, x: &mut V);
fn scal_mat(alpha: &Self, x: &mut dyn Matrix<Self>);
}
Expand description
Computes a * x
and stores the result in x
.
Required Methods§
fn scal<V: ?Sized + Vector<Self>>(alpha: &Self, x: &mut V)
fn scal_mat(alpha: &Self, x: &mut dyn Matrix<Self>)
Object Safety§
This trait is not object safe.