Explicitly state that indices must be sorted.

(cherry picked from commit bf48d46338)
This commit is contained in:
Antonio Sánchez
2022-10-19 18:15:29 +00:00
committed by Antonio Sanchez
parent af6e7cc66a
commit 15e23ab849

View File

@@ -237,6 +237,7 @@ class Map<SparseMatrixType>
/** Constructs a read-write Map to a sparse matrix of size \a rows x \a cols, containing \a nnz non-zero coefficients,
* stored as a sparse format as defined by the pointers \a outerIndexPtr, \a innerIndexPtr, and \a valuePtr.
* If the optional parameter \a innerNonZerosPtr is the null pointer, then a standard compressed format is assumed.
* The inner indices must be sorted appropriately.
*
* This constructor is available only if \c SparseMatrixType is non-const.
*