Returns the number of nonzero values in the single-precision dense vector x.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 3.0+
The number of elements in the dense vector x.
Increment between valid values in the dense vector x. Negative strides are supported.
The count of the nonzero values in the vector x.
Sparse Utility Operations
Extracts elements from the sparse vector x into the corresponding location in the dense vector y, with both vectors containing double-precision values.
Extracts elements from the sparse vector x into the corresponding location in the dense vector y, with both vectors containing single-precision values.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software