OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
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.
 
T & value ()
 Return the value.
 
 rval ()
 Default constructor.
 
 rval (long int i, T val)
 Constructor from row, colum and value.
 

Static Public Member Functions

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

Private Attributes

long int r
 row
 
val
 value
 

Constructor & Destructor Documentation

◆ rval() [1/2]

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

Default constructor.

Definition at line 63 of file Vector_eigen.hpp.

◆ rval() [2/2]

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.

Field Documentation

◆ r

template<typename T >
long int rval< T, EIGEN_RVAL >::r
private

row

Definition at line 33 of file Vector_eigen.hpp.

◆ val

template<typename T >
T rval< T, EIGEN_RVAL >::val
private

value

Definition at line 36 of file Vector_eigen.hpp.


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