Trait rblas::vector::ops::Axpy [] [src]

pub trait Axpy: Sized {
    fn axpy<V: ?Sized + Vector<Self>, W: ?Sized + Vector<Self>>(alpha: &Self, x: &V, y: &mut W);
    fn axpy_mat(alpha: &Self, x: &Matrix<Self>, y: &mut Matrix<Self>);
}

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: &Matrix<Self>, y: &mut Matrix<Self>)

Implementors