naginterfaces.library.blas.dscal¶
- naginterfaces.library.blas.dscal(alpha, x)[source]¶
dscal
multiplies a real vector by a real scalar.For full information please refer to the NAG Library document for f06ed
https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/f06/f06edf.html
- Parameters
- alphafloat
The scalar .
- xfloat, ndarray, shape , modified in place
On entry: the -element vector .
On exit: the vector .
- Raises
- NagValueError
- (errno )
On entry, error in parameter .
Constraint: .
- Notes
No equivalent traditional C interface for this routine exists in the NAG Library.
dscal
performs the operationwhere is an -element real vector, and is a real scalar.
- References
Lawson, C L, Hanson, R J, Kincaid, D R and Krogh, F T, 1979, Basic linear algebra supbrograms for Fortran usage, ACM Trans. Math. Software (5), 308–325