mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 03:39:01 +08:00
remove reference to internal method
This commit is contained in:
parent
a44d91a0b2
commit
9acfc7c4f3
@ -532,7 +532,7 @@ class SparseMatrix
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Resizes the matrix to a \a rows x \a cols matrix leaving old values untouched.
|
/** Resizes the matrix to a \a rows x \a cols matrix leaving old values untouched.
|
||||||
* \sa resizeNonZeros(Index), reserve(), setZero()
|
* \sa reserve(), setZero()
|
||||||
*/
|
*/
|
||||||
void conservativeResize(Index rows, Index cols)
|
void conservativeResize(Index rows, Index cols)
|
||||||
{
|
{
|
||||||
@ -600,7 +600,7 @@ class SparseMatrix
|
|||||||
* This function does not free the currently allocated memory. To release as much as memory as possible,
|
* This function does not free the currently allocated memory. To release as much as memory as possible,
|
||||||
* call \code mat.data().squeeze(); \endcode after resizing it.
|
* call \code mat.data().squeeze(); \endcode after resizing it.
|
||||||
*
|
*
|
||||||
* \sa resizeNonZeros(Index), reserve(), setZero()
|
* \sa reserve(), setZero()
|
||||||
*/
|
*/
|
||||||
void resize(Index rows, Index cols)
|
void resize(Index rows, Index cols)
|
||||||
{
|
{
|
||||||
@ -627,7 +627,6 @@ class SparseMatrix
|
|||||||
* Resize the nonzero vector to \a size */
|
* Resize the nonzero vector to \a size */
|
||||||
void resizeNonZeros(Index size)
|
void resizeNonZeros(Index size)
|
||||||
{
|
{
|
||||||
// TODO remove this function
|
|
||||||
m_data.resize(size);
|
m_data.resize(size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user