Returns a double-precision sparse matrix object.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 3.0+
The number of rows of the matrix. Must be greater than 0.
The number of columns of the matrix. Must be greater than 0.
A matrix object that is ready for receiving entries. If an error occurs,
nil is returned.
This function creates a sparse matrix object that is stored in pointwise format and is ready to receive values from the various insert routines. Pointwise format means individual values are stored for a given
i,j location as opposed to blocks of values. For block support use the block create routines. See the various insert routines for details on inserting entries into this matrix object.
After you've finished with the matrix, it's important that you free the memory allocated to it with