sparse_set_matrix_property(_:_:)
Sets the given property for a matrix object.
Declaration
func sparse_set_matrix_property(_ A: UnsafeMutableRawPointer!, _ pname: sparse_matrix_property) -> sparse_statusParameters
- A:
The sparse matrix object.
- pname:
The property name to set to True. See Sparse_matrix_property for options.
Return Value
SPARSE_SUCCESS when property is successfully set, otherwise return SPARSE_CANNOT_SET_PROPERTY.
Discussion
The matrix object must not have had values inserted, else SPARSE_CANNOT_SET_PROPERTY is returned and the property is not set.Certain groups of properties are mutually exclusive and setting multiple values within a group is undefined.