Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
}
b
Scalar * b
Definition:
benchVecAdd.cpp:17
Eigen::SparseMatrix
A versatible sparse matrix representation.
Definition:
SparseMatrix.h:96
Mat1
SparseMatrix< double, ColMajor > Mat1
Definition:
sparse_storage_mismatch.cpp:4
Eigen
Namespace containing all symbols from the Eigen library.
Definition:
jet.h:637
a
Array33i a
Definition:
Cwise_product.cpp:1
Mat2
SparseMatrix< double, ColMajor > Mat2
Definition:
sparse_storage_mismatch.cpp:8
main
int main()
Definition:
sparse_storage_mismatch.cpp:11
gtsam
Author(s):
autogenerated on Sat May 8 2021 02:44:18