einsums::blas::vendor::sscal#
Note
Generated from the C++ headers by apiary --emit-cpp-docs-json.
Defined in header Einsums/BLASVendor/Vendor.hpp.
-
void sscal(int_t n, float alpha, float *vec, int_t inc)#
Scales a vector by a scalar. Supports real scalars by real vectors, complex scalars by complex vectors, and real scalars by complex vectors.
Added in version 1.0.0.
- Parameters:
n – The number of elements in the vector.
alpha – The scale factor.
vec – The vector to scale.
inc – The skip value for the vector.