Go to the documentation of this file.
12 #include <Eigen/Eigenvalues>
38 template<
typename MatrixType>
void schur(
int size = MatrixType::ColsAtCompileTime)
41 for(
int counter = 0; counter <
g_repeat; ++counter) {
80 Atriangular.template triangularView<StrictlyLower>().setZero();
95 A(0,0) = std::numeric_limits<typename MatrixType::Scalar>::quiet_NaN();
void verifyIsQuasiTriangular(const MatrixType &T)
void schur(int size=MatrixType::ColsAtCompileTime)
#define VERIFY_IS_EQUAL(a, b)
const MatrixType & matrixT() const
Returns the quasi-triangular matrix in the Schur decomposition.
Eigen::Triplet< double > T
cout<< "Here is a random 4x4 matrix, A:"<< endl<< A<< endl<< endl;ComplexSchur< MatrixXcf > schurOfA(A, false)
RealSchur & compute(const EigenBase< InputType > &matrix, bool computeU=true)
Computes Schur decomposition of given matrix.
ComputationInfo info() const
Reports whether previous computation was successful.
#define VERIFY_RAISES_ASSERT(a)
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
#define CALL_SUBTEST_4(FUNC)
#define CALL_SUBTEST_3(FUNC)
#define CALL_SUBTEST_1(FUNC)
Index getMaxIterations()
Returns the maximum number of iterations.
#define CALL_SUBTEST_5(FUNC)
#define CALL_SUBTEST_2(FUNC)
#define VERIFY_IS_APPROX(a, b)
EIGEN_DECLARE_TEST(schur_real)
#define EIGEN_TEST_MAX_SIZE
The matrix class, also used for vectors and row-vectors.
const MatrixType & matrixU() const
Returns the orthogonal matrix in the Schur decomposition.
RealSchur & setMaxIterations(Index maxIters)
Sets the maximum number of iterations allowed.
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:13:10