File tree Expand file tree Collapse file tree
lib/node_modules/@stdlib/blas/base/ndarray/zscal Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222
2323var bench = require ( '@stdlib/bench' ) ;
2424var uniform = require ( '@stdlib/random/array/uniform' ) ;
25- var isnanf = require ( '@stdlib/math/base/assert/is-nanf ' ) ;
26- var realf = require ( '@stdlib/complex/float64/real' ) ;
25+ var isnan = require ( '@stdlib/math/base/assert/is-nan ' ) ;
26+ var real = require ( '@stdlib/complex/float64/real' ) ;
2727var pow = require ( '@stdlib/math/base/special/pow' ) ;
2828var scalar2ndarray = require ( '@stdlib/ndarray/from-scalar' ) ;
2929var Complex128Vector = require ( '@stdlib/ndarray/vector/complex128' ) ;
@@ -81,7 +81,7 @@ function createBenchmark( len ) {
8181 }
8282 }
8383 b . toc ( ) ;
84- if ( isnanf ( realf ( z . get ( i % len ) ) ) ) {
84+ if ( isnan ( real ( z . get ( i % len ) ) ) ) {
8585 b . fail ( 'should not return NaN' ) ;
8686 }
8787 b . pass ( 'benchmark finished' ) ;
Original file line number Diff line number Diff line change 11
22{{alias}}( arrays )
3- Multiplies a one-dimensional double-precision complex floating-point
4- ndarray by a scalar constant.
3+ Multiplies a one-dimensional double-precision complex floating-point ndarray
4+ by a scalar constant.
55
66 If provided an empty input ndarray, the function returns the input ndarray
77 unchanged.
1212 Array-like object containing the following ndarrays:
1313
1414 - a one-dimensional input ndarray.
15- - a zero-dimensional ndarray containing a scalar constant `alpha` .
15+ - a zero-dimensional ndarray containing a scalar constant.
1616
1717 Returns
1818 -------
You can’t perform that action at this time.
0 commit comments