vSscal(_:_:_:)
Scales a vector in place.
Declaration
func vSscal(_ n: Int32, _ alpha: Float, _ x: UnsafeMutablePointer<vFloat>)Parameters
- n:
Number of elements in vector
x; must be a multiple of 4. - alpha:
Scaling factor.
- x:
Vector with
nelements of typefloat.
Discussion
Each element of vector x is multiplied in place by alpha.