Go to the documentation of this file.
12 #include <Eigen/Eigenvalues>
14 template<
typename MatrixType>
void schur(
int size = MatrixType::ColsAtCompileTime)
20 for(
int counter = 0; counter <
g_repeat; ++counter) {
61 Atriangular.template triangularView<StrictlyLower>().setZero();
76 A(0,0) = std::numeric_limits<typename MatrixType::RealScalar>::quiet_NaN();
ComplexSchur & setMaxIterations(Index maxIters)
Sets the maximum number of iterations allowed.
#define VERIFY_IS_EQUAL(a, b)
const ComplexMatrixType & matrixT() const
Returns the triangular matrix in the Schur decomposition.
void schur(int size=MatrixType::ColsAtCompileTime)
Eigen::Triplet< double > T
cout<< "Here is a random 4x4 matrix, A:"<< endl<< A<< endl<< endl;ComplexSchur< MatrixXcf > schurOfA(A, false)
EIGEN_DECLARE_TEST(schur_complex)
#define VERIFY_RAISES_ASSERT(a)
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
Index getMaxIterations()
Returns the maximum number of iterations.
#define CALL_SUBTEST_4(FUNC)
ComputationInfo info() const
Reports whether previous computation was successful.
#define CALL_SUBTEST_3(FUNC)
#define CALL_SUBTEST_1(FUNC)
#define CALL_SUBTEST_5(FUNC)
#define CALL_SUBTEST_2(FUNC)
#define VERIFY_IS_APPROX(a, b)
ComplexSchur & compute(const EigenBase< InputType > &matrix, bool computeU=true)
Computes Schur decomposition of given matrix.
const ComplexMatrixType & matrixU() const
Returns the unitary matrix in the Schur decomposition.
#define EIGEN_TEST_MAX_SIZE
The matrix class, also used for vectors and row-vectors.
Performs a complex Schur decomposition of a real or complex square matrix.
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:04:02