Function

sparse_get_block_dimension_for_row(_:_:)

Returns the dimension of the block for a specified row of a double-precision matrix.

Declaration

func sparse_get_block_dimension_for_row(_ A: UnsafeMutableRawPointer!, _ i: sparse_index) -> Int

Parameters

A

The sparse matrix, A, which must have been created with sparse_matrix_block_create_float(_:_:_:_:), sparse_matrix_block_create_double(_:_:_:_:), sparse_matrix_variable_block_create_float(_:_:_:_:), or sparse_matrix_variable_block_create_double(_:_:_:_:). 0 is returned if not met. A holds block dimensions (fixed or variable) set with matrix object creation routine.

i

The row to query.

Return Value

The dimension of the block of the specified row.

See Also

Block Dimension Queries

func sparse_get_block_dimension_for_col(UnsafeMutableRawPointer!, sparse_index) -> Int

Returns the dimension of the block for a specified column of a single-precision matrix.