scale#
- VectorArray.scale(fac, copy=True)[source]#
Scale the vector.
- Parameters:
- facarray_like
The scaling factor(s).
A single factor scales all vectors the same.
If as many factors as vectors are provided, scale each vector individually.
- copybool, default
True If True, return a copy of the original vector, otherwise scale in-place.
- Returns:
- scaled_vector
VectorArray The scaled vectors.
- scaled_vector