sparse_ref_3.cpp File Reference
#include "../Eigen/Sparse"

Functions

void call_ref (const Ref< const SparseMatrix< float > > &a)
 
int main ()
 

Function Documentation

◆ call_ref()

void call_ref ( const Ref< const SparseMatrix< float > > &  a)
8 {}

Referenced by main().

◆ main()

int main ( )
11  {
12  SparseMatrix<float> a(10, 10);
13  call_ref(a + a);
14 }
A versatible sparse matrix representation.
Definition: SparseMatrix.h:121
const Scalar * a
Definition: level2_cplx_impl.h:32
void call_ref(const Ref< const SparseMatrix< float > > &a)
Definition: sparse_ref_3.cpp:8

References a, and call_ref().