Go to the documentation of this file.
12 #define EIGEN_STACK_ALLOCATION_LIMIT 0
13 #define EIGEN_RUNTIME_NO_MALLOC
17 #define SVD_DEFAULT(M) JacobiSVD<M>
18 #define SVD_FOR_MIN_NORM(M) JacobiSVD<M,ColPivHouseholderQRPreconditioner>
22 template<
typename MatrixType>
32 if(
m.rows()==
m.cols())
38 svd_verify_assert<JacobiSVD<MatrixType> >(
m);
39 svd_verify_assert<JacobiSVD<MatrixType, FullPivHouseholderQRPreconditioner> >(
m,
true);
40 svd_verify_assert<JacobiSVD<MatrixType, ColPivHouseholderQRPreconditioner> >(
m);
41 svd_verify_assert<JacobiSVD<MatrixType, HouseholderQRPreconditioner> >(
m);
46 ColsAtCompileTime = MatrixType::ColsAtCompileTime
53 if (ColsAtCompileTime ==
Dynamic)
62 template<
typename MatrixType>
65 enum { Size = MatrixType::RowsAtCompileTime };
81 bool operator<(
const Bar&,
const Bar&) {
return true; }
108 int r = internal::random<int>(1, 30),
109 c = internal::random<int>(1, 30);
bool operator<(const Bar &, const Bar &)
#define CALL_SUBTEST_11(FUNC)
#define CALL_SUBTEST_9(FUNC)
#define VERIFY_RAISES_ASSERT(a)
#define CALL_SUBTEST_4(FUNC)
JacobiSVD & compute(const MatrixType &matrix, unsigned int computationOptions)
Method performing the decomposition of given matrix using custom options.
#define CALL_SUBTEST_3(FUNC)
#define CALL_SUBTEST_1(FUNC)
void svd_fill_random(MatrixType &m, int Option=0)
#define CALL_SUBTEST_13(FUNC)
void svd_all_trivial_2x2(void(*cb)(const MatrixType &, bool))
#define CALL_SUBTEST_10(FUNC)
void jacobisvd_verify_assert(const MatrixType &m)
#define CALL_SUBTEST_5(FUNC)
#define CALL_SUBTEST_6(FUNC)
#define CALL_SUBTEST_2(FUNC)
void jacobisvd(const MatrixType &a=MatrixType(), bool pickrandom=true)
#define VERIFY_IS_APPROX(a, b)
NumTraits< Scalar >::Real RealScalar
Two-sided Jacobi SVD decomposition of a rectangular matrix.
EIGEN_DECLARE_TEST(jacobisvd)
#define EIGEN_NOT_A_MACRO
#define EIGEN_TEST_MAX_SIZE
#define CALL_SUBTEST_12(FUNC)
void svd_test_all_computation_options(const MatrixType &m, bool full_only)
The matrix class, also used for vectors and row-vectors.
#define CALL_SUBTEST_7(FUNC)
#define CALL_SUBTEST_8(FUNC)
#define TEST_SET_BUT_UNUSED_VARIABLE(X)
#define CALL_SUBTEST(FUNC)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:34