naginterfaces.library.blas.drscl¶
- naginterfaces.library.blas.drscl(alpha, x)[source]¶
drscl
multiplies a real vector by the reciprocal of a scalar.For full information please refer to the NAG Library document for f06fe
https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/f06/f06fef.html
- Parameters
- alphafloat
The scalar .
- xfloat, array-like, shape
The -element vector .
- Returns
- xfloat, ndarray, shape
The updated vector .
- Raises
- NagValueError
- (errno )
On entry, error in parameter .
Constraint: .
- (errno )
On entry, error in parameter .
Constraint: .
- Notes
drscl
performs the operationwhere is an -element real vector and is a real nonzero scalar.