12 #include <Eigen/Cholesky> 17 template<
typename DecType,
typename MatrixType>
void inplace(
bool square =
false,
bool SPD =
false)
27 RhsType
b = RhsType::Random(rows);
33 A.topRows(cols) = A.topRows(cols).adjoint() * A.topRows(cols);
34 A.diagonal().array() += 1
e-3;
Robust Cholesky decomposition of a matrix with pivoting.
#define CALL_SUBTEST_6(FUNC)
#define CALL_SUBTEST_4(FUNC)
Householder rank-revealing QR decomposition of a matrix with full pivoting.
#define CALL_SUBTEST_3(FUNC)
#define CALL_SUBTEST_7(FUNC)
LU decomposition of a matrix with partial pivoting, and related features.
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
EIGEN_DECLARE_TEST(inplace_decomposition)
Complete orthogonal decomposition (COD) of a matrix.
#define VERIFY_IS_APPROX(a, b)
EIGEN_DEVICE_FUNC const SquareReturnType square() const
#define VERIFY_IS_EQUAL(a, b)
#define CALL_SUBTEST_1(FUNC)
Householder rank-revealing QR decomposition of a matrix with column-pivoting.
Standard Cholesky decomposition (LL^T) of a matrix and associated features.
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
#define CALL_SUBTEST_8(FUNC)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
A matrix or vector expression mapping an existing expression.
#define CALL_SUBTEST_5(FUNC)
#define EIGEN_TEST_MAX_SIZE
LU decomposition of a matrix with complete pivoting, and related features.
Householder QR decomposition of a matrix.
#define VERIFY_IS_NOT_APPROX(a, b)
#define CALL_SUBTEST_2(FUNC)
void inplace(bool square=false, bool SPD=false)
The matrix class, also used for vectors and row-vectors.
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x