Contents

sparse_get_matrix_nonzero_count_for_column(_:_:)

Returns the number of nonzero values in a column of a matrix.

Declaration

func sparse_get_matrix_nonzero_count_for_column(_ A: UnsafeMutableRawPointer!, _ j: sparse_index) -> Int

Parameters

  • A:

    The sparse matrix object.

  • j:

    The zero based index of the row to query.

Return Value

The number of nonzero values in the specified column of the matrix. If j is out of bounds of the matrix, 0 is returned.

Discussion

See Also

General Sparse Matrix Management Operations