OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
triplet< T, EIGEN_TRIPLET > Class Template Reference

It store one non-zero element in the sparse matrix. More...

Detailed Description

template<typename T>
class triplet< T, EIGEN_TRIPLET >

It store one non-zero element in the sparse matrix.

Given a row, and a column, store a value

Definition at line 24 of file SparseMatrix_Eigen.hpp.

#include <SparseMatrix_Eigen.hpp>

Public Member Functions

long int & row ()
 
long int & col ()
 
T & value ()
 
 triplet (long int i, long int j, T val)
 Constructor from row, colum and value. More...
 

Private Attributes

Eigen::Triplet< T, long int > triplet_ei
 

Constructor & Destructor Documentation

template<typename T >
triplet< T, EIGEN_TRIPLET >::triplet ( long int  i,
long int  j,
val 
)
inline

Constructor from row, colum and value.

Parameters
irow
jcolum
valvalue

Definition at line 58 of file SparseMatrix_Eigen.hpp.


The documentation for this class was generated from the following file: