gtsam
3rdparty
Eigen
failtest
sparse_storage_mismatch.cpp
Go to the documentation of this file.
1
#include "../Eigen/Sparse"
2
using namespace
Eigen
;
3
4
typedef
SparseMatrix<double,ColMajor>
Mat1
;
5
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
6
typedef
SparseMatrix<double,RowMajor>
Mat2
;
7
#else
8
typedef
SparseMatrix<double,ColMajor>
Mat2
;
9
#endif
10
11
int
main
()
12
{
13
Mat1
a
(10,10);
14
Mat2
b
(10,10);
15
a
+=
b
;
16
}
Eigen
Namespace containing all symbols from the Eigen library.
Definition:
jet.h:637
Eigen::SparseMatrix
A versatible sparse matrix representation.
Definition:
SparseMatrix.h:96
b
Scalar * b
Definition:
benchVecAdd.cpp:17
Mat2
SparseMatrix< double, ColMajor > Mat2
Definition:
sparse_storage_mismatch.cpp:8
a
ArrayXXi a
Definition:
Array_initializer_list_23_cxx11.cpp:1
Mat1
SparseMatrix< double, ColMajor > Mat1
Definition:
sparse_storage_mismatch.cpp:4
main
int main()
Definition:
sparse_storage_mismatch.cpp:11
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:04:24