mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
Return alphas() and betas() by const reference
This commit is contained in:
parent
92d0026b7b
commit
cec0005c74
@ -212,7 +212,7 @@ template<typename MatrixType_> class GeneralizedEigenSolver
|
|||||||
* This vector permits to reconstruct the j-th eigenvalues as alphas(i)/betas(j).
|
* This vector permits to reconstruct the j-th eigenvalues as alphas(i)/betas(j).
|
||||||
*
|
*
|
||||||
* \sa betas(), eigenvalues() */
|
* \sa betas(), eigenvalues() */
|
||||||
ComplexVectorType alphas() const
|
const ComplexVectorType& alphas() const
|
||||||
{
|
{
|
||||||
eigen_assert(m_valuesOkay && "GeneralizedEigenSolver is not initialized.");
|
eigen_assert(m_valuesOkay && "GeneralizedEigenSolver is not initialized.");
|
||||||
return m_alphas;
|
return m_alphas;
|
||||||
@ -223,7 +223,7 @@ template<typename MatrixType_> class GeneralizedEigenSolver
|
|||||||
* This vector permits to reconstruct the j-th eigenvalues as alphas(i)/betas(j).
|
* This vector permits to reconstruct the j-th eigenvalues as alphas(i)/betas(j).
|
||||||
*
|
*
|
||||||
* \sa alphas(), eigenvalues() */
|
* \sa alphas(), eigenvalues() */
|
||||||
VectorType betas() const
|
const VectorType& betas() const
|
||||||
{
|
{
|
||||||
eigen_assert(m_valuesOkay && "GeneralizedEigenSolver is not initialized.");
|
eigen_assert(m_valuesOkay && "GeneralizedEigenSolver is not initialized.");
|
||||||
return m_betas;
|
return m_betas;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user