Trait rstats::MutVecg[][src]

pub trait MutVecg<U> {
    fn mutsmult(self, _s: U);
fn mutvsub(self, _v: &[U]);
fn mutvadd(self, _v: &[U]); }
Expand description

Mutable vector operations that take one generic argument. A few of the essential Vecg methods are reimplemented here to mutate self in-place (only for f64). This is for efficiency and convenience, for example, in vector iterative methods.

Required methods

mutable multiplication by a scalar

mutable vector subtraction

mutable vector addition

Implementations on Foreign Types

Mutable vector operations on &mut [f64], where the operand endtype is generic

Scalar multiplication of a vector, mutates self

Vector subtraction, mutates self

Vector addition, mutates self

Implementors