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

It store one row value of a vector. More...

Detailed Description

template<typename T>
class rval< T, EIGEN_RVAL >

It store one row value of a vector.

Given a row, store a value

Definition at line 30 of file Vector_eigen.hpp.

#include <Vector_eigen.hpp>

Public Member Functions

long int & row ()
 Return the row index. More...
 
T & value ()
 Return the value. More...
 
 rval ()
 Default constructor. More...
 
 rval (long int i, T val)
 Constructor from row, colum and value. More...
 

Static Public Member Functions

static bool noPointers ()
 Indicate that the structure has no pointer. More...
 

Private Attributes

long int r
 row
 
val
 value
 

Constructor & Destructor Documentation

template<typename T >
rval< T, EIGEN_RVAL >::rval ( )
inline

Default constructor.

Definition at line 63 of file Vector_eigen.hpp.

template<typename T >
rval< T, EIGEN_RVAL >::rval ( long int  i,
val 
)
inline

Constructor from row, colum and value.

Parameters
irow
valvalue

Definition at line 73 of file Vector_eigen.hpp.

Member Function Documentation

template<typename T >
static bool rval< T, EIGEN_RVAL >::noPointers ( )
inlinestatic

Indicate that the structure has no pointer.

Returns
true

Definition at line 84 of file Vector_eigen.hpp.

template<typename T >
long int& rval< T, EIGEN_RVAL >::row ( )
inline

Return the row index.

Returns
a reference to the row index

Definition at line 45 of file Vector_eigen.hpp.

template<typename T >
T& rval< T, EIGEN_RVAL >::value ( )
inline

Return the value.

Returns
a reference to the row value

Definition at line 55 of file Vector_eigen.hpp.


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