www.cemf.ir
array2D< T, nRow, nCol > Struct Template Reference
+ Inheritance diagram for array2D< T, nRow, nCol >:

Public Member Functions

T & operator() (size_t i, size_t j) noexcept
 
const T & operator() (size_t i, size_t j) const noexcept
 
constexpr size_t size () const noexcept
 
constexpr size_t nCols () const noexcept
 
constexpr size_t nRows () const noexcept
 

Public Attributes

elements_ [nRow][nCol]
 

Detailed Description

template<typename T, size_t nRow, size_t nCol>
struct pFlow::array2D< T, nRow, nCol >

Definition at line 11 of file array2D.hpp.

Member Function Documentation

◆ operator()() [1/2]

T& operator() ( size_t  i,
size_t  j 
)
inlinenoexcept

Definition at line 17 of file array2D.hpp.

◆ operator()() [2/2]

const T& operator() ( size_t  i,
size_t  j 
) const
inlinenoexcept

Definition at line 23 of file array2D.hpp.

◆ size()

constexpr size_t size ( ) const
inlineconstexprnoexcept

Definition at line 28 of file array2D.hpp.

◆ nCols()

constexpr size_t nCols ( ) const
inlineconstexprnoexcept

Definition at line 34 of file array2D.hpp.

◆ nRows()

constexpr size_t nRows ( ) const
inlineconstexprnoexcept

Definition at line 39 of file array2D.hpp.

Member Data Documentation

◆ elements_

T elements_[nRow][nCol]

Definition at line 14 of file array2D.hpp.

Referenced by array2D< real, 3uL, 3uL >::operator()().


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