mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-16 18:11:47 +08:00
Explicitly state that indices must be sorted.
(cherry picked from commit bf48d463384e2fde45d0b0a008bd95351e475766)
This commit is contained in:
parent
af6e7cc66a
commit
15e23ab849
@ -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,
|
/** 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.
|
* 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.
|
* 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.
|
* This constructor is available only if \c SparseMatrixType is non-const.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user