Contents

SparseMatrix_Double

A structure that contains a sparse matrix of double-precision, floating-point values.

Declaration

struct SparseMatrix_Double

Mentioned in

Overview

You typically use sparse matrices to represent the sparse coefficient matrix in the matrix equation Ax = b. A SparseMatrix_Double structure provides a pointer to its underlying data, and information about its structure and attributes.

The Accelerate framework uses the compressed sparse column (CSC) format to store sparse matrices. CSC stores the matrix as a series of column vectors that specifies only the nonzero entries as (row-index, value) pairs. For more information, see Creating sparse matrices.

After you finish using a sparse matrix, call SparseCleanup(_:) to release its references to any memory that the Sparse Solvers library allocates.

Topics

Creating a Sparse Matrix

Inspecting a Matrix’s Structure and Data

Specifying the Structure and Attributes of a Sparse Matrix

See Also

Creating sparse matrices