Go to the documentation of this file.
9 #define EIGEN_NO_DEBUG_SMALL_PRODUCT_BLOCKS
11 #include <Eigen/SPQRSupport>
14 template<
typename MatrixType,
typename DenseMat>
19 int rows = internal::random<int>(1,maxRows);
20 int cols = internal::random<int>(1,
rows);
41 b = DenseVector::Random(
m);
45 std::cerr <<
"sparse QR factorization failed\n";
52 std::cerr <<
"sparse QR factorization failed\n";
57 refX = dA.colPivHouseholderQr().solve(
b);
58 VERIFY(
x.isApprox(refX,test_precision<Scalar>()));
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_DECLARE_TEST(spqr_support)
BiCGSTAB< SparseMatrix< double > > solver
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
#define CALL_SUBTEST_1(FUNC)
#define CALL_SUBTEST_2(FUNC)
Matrix< Scalar, Dynamic, 1 > DenseVector
Sparse QR factorization based on SuiteSparseQR library.
int generate_sparse_rectangular_problem(MatrixType &A, DenseMat &dA, int maxRows=300, int maxCols=300)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:04:59