Trait nalgebra::Axpy
[−]
[src]
pub trait Axpy<A> { fn axpy(&mut self, a: A, x: &Self); }
Operation that combines scalar multiplication and vector addition.
Required Methods
fn axpy(&mut self, a: A, x: &Self)
Computes self = a * x + self
.
Implementors
impl<N, R: Dim, C: Dim, S> Axpy<N> for Matrix<N, R, C, S> where
N: Scalar + Field,
S: StorageMut<N, R, C>,impl<N, D: DimName, S> Axpy<N> for PointBase<N, D, S> where
N: Scalar + Field,
S: StorageMut<N, D, U1>,