OpenFPM  5.2.0
Project that contain the implementation of distributed structures
rval< T, EIGEN_RVAL > Class Template Reference

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

#include <Vector_eigen.hpp>

Public Member Functions

long int & row ()
 Return the row index. More...
 
T & value ()
 Return the value. More...
 
 rval ()
 Default constructor.
 
 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
 

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.

Constructor & Destructor Documentation

◆ rval()

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

◆ noPointers()

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.

◆ row()

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.

◆ value()

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: