Computes the outer product of the dense vector x and the sparse vector y, with both operands containing single-precision values.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The number of rows of x and the resulting matrix.
The number of columns of the resulting matrix. The number of nonzero values must be less than or equal to
The number of nonzero values in the sparse vector y. Must be less than or equal to
Scalar multiplier of x.
Pointer to the dense vector x. Must be
Mnumber of elements. Negative strides are supported. Note, unlike dense BLAS routines, the pointer points to the last element when stride is negative.
Increment between valid values in the dense vector x. Negative strides are supported.
Pointer to the dense storage for the values of the sparse vector y. The corresponding entry in
indyholds the index of the value. Contains
Pointer to the dense storage for the index values of the sparse vector y. The corresponding entry in y holds the values of the vector. Contains
Pointer to an uninitialized sparse matrix object. On success a newly allocated sparse matrix object is returned in this pointer. On error, this set to
NULL.You are responsible for calling
sparseon this matrix object.
Compute the outer product of the dense vector x and the sparse vector y and return a new sparse matrix in the uninitialized pointer sparse matrix pointer
C = alpha * x * y'. You are responsible for calling
sparse on the returned matrix.The matrix object returned on success is a point wise based sparse matrix.
indx are always assumed to be stored in ascending order. Additionally, indices are assumed to be unique. The behavior of this function is undefined if either of these assumptions are not met.
All indices are 0 based (the first element of a pointer is