sparse_get_vector_nonzero_count_float(_:_:_:)
Returns the number of nonzero values in the single-precision dense vector x.
Declaration
func sparse_get_vector_nonzero_count_float(_ N: sparse_dimension, _ x: UnsafePointer<Float>!, _ incx: sparse_stride) -> IntParameters
- N:
The number of elements in the dense vector x.
- x:
Pointer to the vector x.
- incx:
Increment between valid values in the dense vector x. Negative strides are supported.
Return Value
The count of the nonzero values in the vector x.