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.
Householder rank-revealing QR decomposition of a matrix with full pivoting.
LU decomposition of a matrix with partial pivoting, and related features.
Matrix< SCALARA, Dynamic, Dynamic > A
Complete orthogonal decomposition (COD) of a matrix.
#define VERIFY_IS_APPROX(a, b)
#define VERIFY_IS_EQUAL(a, b)
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.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
A matrix or vector expression mapping an existing expression.
void test_inplace_decomposition()
#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)
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
EIGEN_DEVICE_FUNC const SquareReturnType square() const