Trait nalgebra::Axpy
[−]
[src]
pub trait Axpy<N> { fn axpy(&mut self, a: &N, x: &Self); }
Trait of objects implementing the y = ax + y
operation.
Required Methods
fn axpy(&mut self, a: &N, x: &Self)
Adds $$a * x$$ to self
.
Implementors
impl<N: Copy + Add<N, Output=N> + Mul<N, Output=N>> Axpy<N> for DVec<N>
impl<N: Copy + Add<N, Output=N> + Mul<N, Output=N>> Axpy<N> for DVec1<N>
impl<N: Copy + Add<N, Output=N> + Mul<N, Output=N>> Axpy<N> for DVec2<N>
impl<N: Copy + Add<N, Output=N> + Mul<N, Output=N>> Axpy<N> for DVec3<N>
impl<N: Copy + Add<N, Output=N> + Mul<N, Output=N>> Axpy<N> for DVec4<N>
impl<N: Copy + Add<N, Output=N> + Mul<N, Output=N>> Axpy<N> for DVec5<N>
impl<N: Copy + Add<N, Output=N> + Mul<N, Output=N>> Axpy<N> for DVec6<N>
impl<N: Axpy<N>> Axpy<N> for Vec1<N>
impl<N: Axpy<N>> Axpy<N> for Vec2<N>
impl<N: Axpy<N>> Axpy<N> for Vec3<N>
impl<N: Axpy<N>> Axpy<N> for Vec4<N>
impl<N: Axpy<N>> Axpy<N> for Vec5<N>
impl<N: Axpy<N>> Axpy<N> for Vec6<N>
impl<N: Axpy<N>> Axpy<N> for Pnt1<N>
impl<N: Axpy<N>> Axpy<N> for Pnt2<N>
impl<N: Axpy<N>> Axpy<N> for Pnt3<N>
impl<N: Axpy<N>> Axpy<N> for Pnt4<N>
impl<N: Axpy<N>> Axpy<N> for Pnt5<N>
impl<N: Axpy<N>> Axpy<N> for Pnt6<N>
impl<N: Axpy<N>> Axpy<N> for Quat<N>
impl Axpy<f32> for f32
impl Axpy<f64> for f64
impl Axpy<i8> for i8
impl Axpy<i16> for i16
impl Axpy<i32> for i32
impl Axpy<i64> for i64
impl Axpy<isize> for isize
impl Axpy<u8> for u8
impl Axpy<u16> for u16
impl Axpy<u32> for u32
impl Axpy<u64> for u64
impl Axpy<usize> for usize