Bembel
 
Loading...
Searching...
No Matches
Bembel::GenericMatrix< T > Class Template Reference

Detailed Description

template<typename T>
class Bembel::GenericMatrix< T >

Definition at line 18 of file GenericMatrix.hpp.

Public Member Functions

 GenericMatrix (rowIndex rows, colIndex cols)
 
 GenericMatrix (const GenericMatrix &other)
 
 GenericMatrix (GenericMatrix &&other)
 
void resize (rowIndex rows, colIndex cols)
 
colIndex cols () const
 
rowIndex rows () const
 
const Toperator() (rowIndex row, colIndex col) const
 
Toperator() (rowIndex row, colIndex col)
 
GenericMatrixoperator= (GenericMatrix other)
 

Public Types

typedef std::vector< std::vector< T > >::size_type colIndex
 
typedef std::vector< T >::size_type rowIndex
 

Member Typedef Documentation

◆ colIndex

template<typename T >
typedef std::vector<std::vector<T>>::size_type Bembel::GenericMatrix< T >::colIndex

Definition at line 20 of file GenericMatrix.hpp.

◆ rowIndex

template<typename T >
typedef std::vector<T>::size_type Bembel::GenericMatrix< T >::rowIndex

Definition at line 21 of file GenericMatrix.hpp.

Constructor & Destructor Documentation

◆ GenericMatrix() [1/4]

template<typename T >
Bembel::GenericMatrix< T >::GenericMatrix ( )
inline

Definition at line 25 of file GenericMatrix.hpp.

◆ GenericMatrix() [2/4]

template<typename T >
Bembel::GenericMatrix< T >::GenericMatrix ( rowIndex  rows,
colIndex  cols 
)
inline

Definition at line 27 of file GenericMatrix.hpp.

◆ GenericMatrix() [3/4]

template<typename T >
Bembel::GenericMatrix< T >::GenericMatrix ( const GenericMatrix< T > &  other)
inline

Definition at line 29 of file GenericMatrix.hpp.

◆ GenericMatrix() [4/4]

template<typename T >
Bembel::GenericMatrix< T >::GenericMatrix ( GenericMatrix< T > &&  other)
inline

Definition at line 35 of file GenericMatrix.hpp.

Member Function Documentation

◆ cols()

template<typename T >
colIndex Bembel::GenericMatrix< T >::cols ( ) const
inline

Definition at line 51 of file GenericMatrix.hpp.

◆ operator()() [1/2]

template<typename T >
T & Bembel::GenericMatrix< T >::operator() ( rowIndex  row,
colIndex  col 
)
inline

Definition at line 61 of file GenericMatrix.hpp.

◆ operator()() [2/2]

template<typename T >
const T & Bembel::GenericMatrix< T >::operator() ( rowIndex  row,
colIndex  col 
) const
inline

Definition at line 57 of file GenericMatrix.hpp.

◆ operator=()

template<typename T >
GenericMatrix & Bembel::GenericMatrix< T >::operator= ( GenericMatrix< T other)
inline

Definition at line 63 of file GenericMatrix.hpp.

◆ resize()

template<typename T >
void Bembel::GenericMatrix< T >::resize ( rowIndex  rows,
colIndex  cols 
)
inline

Definition at line 43 of file GenericMatrix.hpp.

◆ rows()

template<typename T >
rowIndex Bembel::GenericMatrix< T >::rows ( ) const
inline

Definition at line 53 of file GenericMatrix.hpp.


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