Function rgsl::cblas::level1::sscal [] [src]

pub fn sscal(N: i32, alpha: f32, x: &mut [f32], incx: i32)

Multiple each element of a matrix/vector by a constant.

Postcondition: Every incX'th element of X has been multiplied by a factor of alpha

Parameters:

Note that the allocated length of X must be incX*N-1 as N indicates the number of scaling operations to perform.