mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-09 14:41:49 +08:00
Remove unused typedefs and variables
This commit is contained in:
parent
58725ff08c
commit
8f87be9e03
@ -503,7 +503,6 @@ struct solve_retval<LDLT<_MatrixType,_UpLo>, Rhs>
|
|||||||
using std::abs;
|
using std::abs;
|
||||||
using std::max;
|
using std::max;
|
||||||
typedef typename LDLTType::MatrixType MatrixType;
|
typedef typename LDLTType::MatrixType MatrixType;
|
||||||
typedef typename LDLTType::Scalar Scalar;
|
|
||||||
typedef typename LDLTType::RealScalar RealScalar;
|
typedef typename LDLTType::RealScalar RealScalar;
|
||||||
const typename Diagonal<const MatrixType>::RealReturnType vectorD(dec().vectorD());
|
const typename Diagonal<const MatrixType>::RealReturnType vectorD(dec().vectorD());
|
||||||
// In some previous versions, tolerance was set to the max of 1/highest and the maximal diagonal entry * epsilon
|
// In some previous versions, tolerance was set to the max of 1/highest and the maximal diagonal entry * epsilon
|
||||||
|
@ -110,7 +110,6 @@ void MatrixPowerAtomic<MatrixType>::compute2x2(MatrixType& res, RealScalar p) co
|
|||||||
using std::abs;
|
using std::abs;
|
||||||
using std::pow;
|
using std::pow;
|
||||||
|
|
||||||
ArrayType logTdiag = m_A.diagonal().array().log();
|
|
||||||
res.coeffRef(0,0) = pow(m_A.coeff(0,0), p);
|
res.coeffRef(0,0) = pow(m_A.coeff(0,0), p);
|
||||||
|
|
||||||
for (Index i=1; i < m_A.cols(); ++i) {
|
for (Index i=1; i < m_A.cols(); ++i) {
|
||||||
|
@ -104,9 +104,7 @@ void evalSolverSugarFunction( const POLYNOMIAL& pols, const ROOTS& roots, const
|
|||||||
// 1) the roots found are correct
|
// 1) the roots found are correct
|
||||||
// 2) the roots have distinct moduli
|
// 2) the roots have distinct moduli
|
||||||
|
|
||||||
typedef typename POLYNOMIAL::Scalar Scalar;
|
|
||||||
typedef typename REAL_ROOTS::Scalar Real;
|
typedef typename REAL_ROOTS::Scalar Real;
|
||||||
typedef PolynomialSolver<Scalar, Deg > PolynomialSolverType;
|
|
||||||
|
|
||||||
//Test realRoots
|
//Test realRoots
|
||||||
std::vector< Real > calc_realRoots;
|
std::vector< Real > calc_realRoots;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user