OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
Matrix< T > Class Template Reference

#include "Matrix.h"

Public Types

enum  accessOptimizationDirection { rowWiseAccess , columnWiseAccess }
 

Public Member Functions

 Matrix (int64_t rows, int64_t columns, accessOptimizationDirection direction=accessOptimizationDirection::columnWiseAccess)
 
Matrixoperator= (const Matrix &other)=delete
 
 Matrix (const Matrix &other)=delete
 
 ~Matrix ()
 
GetValue (int64_t row, int64_t column) const
 
void SetValue (int64_t row, int64_t column, T &value)
 
int64_t GetNumberOfRows ()
 
int64_t GetNumberOfColumns ()
 

Member Enumeration Documentation

◆ accessOptimizationDirection

template<class T >
enum Matrix::accessOptimizationDirection
Enumerator
rowWiseAccess 
columnWiseAccess 

Constructor & Destructor Documentation

◆ Matrix() [1/2]

template<class T >
Matrix< T >::Matrix ( int64_t rows,
int64_t columns,
accessOptimizationDirection direction = accessOptimizationDirection::columnWiseAccess )
inline

◆ Matrix() [2/2]

template<class T >
Matrix< T >::Matrix ( const Matrix< T > & other)
delete

◆ ~Matrix()

template<class T >
Matrix< T >::~Matrix ( )
inline

Member Function Documentation

◆ GetNumberOfColumns()

template<class T >
int64_t Matrix< T >::GetNumberOfColumns ( )
inline

◆ GetNumberOfRows()

template<class T >
int64_t Matrix< T >::GetNumberOfRows ( )
inline

◆ GetValue()

template<class T >
T Matrix< T >::GetValue ( int64_t row,
int64_t column ) const
inline

◆ operator=()

template<class T >
Matrix & Matrix< T >::operator= ( const Matrix< T > & other)
delete

◆ SetValue()

template<class T >
void Matrix< T >::SetValue ( int64_t row,
int64_t column,
T & value )
inline

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