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