Computes the specified norm of the single-precision sparse vector x.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The number of nonzero values in the sparse vector x.
Pointer to the dense storage for the values of the sparse vector x. The corresponding entry in indx holds the index of the value. Contains
Pointer to the dense storage for the index values of the sparse vector x. The corresponding entry in x holds the values of the vector. Contains
The requested norm.
Compute the specified norm of the sparse vector x. Specify one of:
norm is not one of the enumerated norm types, the default value is
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