void cblas_sscal(const __LAPACK_int N, const float ALPHA, float * X, const __LAPACK_int INCX); Parameters N Number of elements to scale. ALPHA The constant to multiply by. X Vector x. INCX Stride within X. For example, if incX is 7, every 7th element is multiplied by alpha....
funccblas_sscal(___N:Int32,___alpha:Float,___X:UnsafeMutablePointer<Float>!,___incX:Int32) Parameters N Number of elements to scale. alpha The constant to multiply by. X Vectorx. incX Stride withinX. For example, ifincXis 7, every 7th element is multiplied byalpha. ...
Hi I discovered that when usingcblas_sscal ( ) to scale an array to zero values, sometimes ( not every time) an entry of the array after scaling becomes nan. The command simply reads:cblas_sscal(L, 0.0, A, 1); where L is the length of the array A....
func cblas_sscal( _ N: __LAPACK_int, _ ALPHA: Float, _ X: UnsafeMutablePointer<Float>?, _ INCX: __LAPACK_int ) Parameters N Number of elements to scale. ALPHA The constant to multiply by. X Vector x. INCX Stride within X. For example, if incX is 7, every 7th element is ...
func cblas_sscal( _ N: __LAPACK_int, _ ALPHA: Float, _ X: UnsafeMutablePointer<Float>?, _ INCX: __LAPACK_int ) Parameters N Number of elements to scale. ALPHA The constant to multiply by. X Vector x. INCX Stride within X. For example, if incX is 7, every 7th element is ...
func cblas_sscal( _ N: __LAPACK_int, _ ALPHA: Float, _ X: UnsafeMutablePointer<Float>?, _ INCX: __LAPACK_int ) Parameters N Number of elements to scale. ALPHA The constant to multiply by. X Vector x. INCX Stride within X. For example, if incX is 7, every 7th element is...
func cblas_sscal( _ __N: Int32, _ __alpha: Float, _ __X: UnsafeMutablePointer<Float>!, _ __incX: Int32 ) Parameters N Number of elements to scale. alpha The constant to multiply by. X Vector x. incX Stride within X. For example, if incX is 7, every 7th element is mult...