sparse_ref_5.cpp
Go to the documentation of this file.
1 #include "../Eigen/Sparse"
2 
3 using namespace Eigen;
4 
6 
7 int main()
8 {
9  SparseMatrix<float> a(10,10);
11 #ifdef EIGEN_SHOULD_FAIL_TO_BUILD
12  call_ref(ac);
13 #else
14  call_ref(ac.derived());
15 #endif
16 }
int main()
Definition: sparse_ref_5.cpp:7
A versatible sparse matrix representation.
Definition: SparseMatrix.h:96
Namespace containing all symbols from the Eigen library.
Definition: jet.h:637
Array33i a
Base class of any sparse matrices or sparse expressions.
A matrix or vector expression mapping an existing expression.
Definition: Ref.h:192
const Derived & derived() const
void call_ref(Ref< SparseMatrix< float > > a)
Definition: sparse_ref_5.cpp:5


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:44:18