Blockwise Matrix Operations

Create, insert values into, and extract values from a blockwise sparse matrix.

Topics

Matrix Creation and Population

func sparse_matrix_block_create_double(sparse_dimension, sparse_dimension, sparse_dimension, sparse_dimension) -> sparse_matrix_double!

Returns a double-precision sparse matrix object that is stored in block-entry format with a fixed block size.

func sparse_matrix_block_create_float(sparse_dimension, sparse_dimension, sparse_dimension, sparse_dimension) -> sparse_matrix_float!

Returns a single-precision sparse matrix object that is stored in block-entry format with a fixed block size.

Block Dimension Queries

func sparse_get_block_dimension_for_row(UnsafeMutableRawPointer!, sparse_index) -> Int

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

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.

Supporting Types

typealias sparse_dimension

The dimension type.

typealias sparse_index

The index type.

typealias sparse_matrix_double

Sparse matrix opaque type for Double.

typealias sparse_matrix_float

Sparse matrix opaque type for Float.

struct sparse_status

The type reflecting the status of an operations.

See Also

Sparse Computation

Matrix and Vector Operations

Perform computations with matrices and vectors.

Pointwise Matrix Operations

Create, insert values into, and extract values from a pointwise sparse matrix.

General Sparse Matrix Management Operations

Operations to manage and work with sparse matrix properties.

Sparse Utility Operations

Various utility operations for creating and working with sparse structures.