Contents

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_status

Parameters

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.

See Also

General Sparse Matrix Management Operations