TBTK
TBTK::Matrix< std::complex< double >, 0, 0 > Class Template Reference

Public Member Functions

 Matrix (unsigned int rows, unsigned int cols)
 
 Matrix (const Matrix< std::complex< double >, 0, 0 > &matrix)
 
 Matrix (Matrix< std::complex< double >, 0, 0 > &&matrix)
 
 ~Matrix ()
 
Matrix< std::complex< double >, 0, 0 > & operator= (const Matrix< std::complex< double >, 0, 0 > &rhs)
 
Matrix< std::complex< double >, 0, 0 > & operator= (Matrix< std::complex< double >, 0, 0 > &&rhs)
 
const std::complex< double > & at (unsigned int row, unsigned int col) const
 
std::complex< double > & at (unsigned int row, unsigned int col)
 
unsigned int getNumRows () const
 
unsigned int getNumCols () const
 
const Matrix< std::complex< double >, 0, 0 > operator* (const Matrix< std::complex< double >, 0, 0 > &rhs) const
 
void invert ()
 
std::complex< double > determinant ()
 

Constructor & Destructor Documentation

TBTK::Matrix< std::complex< double >, 0, 0 >::Matrix ( unsigned int  rows,
unsigned int  cols 
)
inline

Constructor.

TBTK::Matrix< std::complex< double >, 0, 0 >::Matrix ( const Matrix< std::complex< double >, 0, 0 > &  matrix)
inline

Copy constructor.

TBTK::Matrix< std::complex< double >, 0, 0 >::Matrix ( Matrix< std::complex< double >, 0, 0 > &&  matrix)
inline

Move constructor.

TBTK::Matrix< std::complex< double >, 0, 0 >::~Matrix ( )
inline

Destructor.

Member Function Documentation

const std::complex< double > & TBTK::Matrix< std::complex< double >, 0, 0 >::at ( unsigned int  row,
unsigned int  col 
) const
inline

Returns a constant reference to the data element.

std::complex< double > & TBTK::Matrix< std::complex< double >, 0, 0 >::at ( unsigned int  row,
unsigned int  col 
)
inline

Returns a reference to the data element.

std::complex< double > TBTK::Matrix< std::complex< double >, 0, 0 >::determinant ( )
inline

Determinant.

unsigned int TBTK::Matrix< std::complex< double >, 0, 0 >::getNumCols ( ) const
inline

Get number of columns.

unsigned int TBTK::Matrix< std::complex< double >, 0, 0 >::getNumRows ( ) const
inline

Get number of rows.

void TBTK::Matrix< std::complex< double >, 0, 0 >::invert ( )
inline

Invert.

const Matrix< std::complex< double >, 0, 0 > TBTK::Matrix< std::complex< double >, 0, 0 >::operator* ( const Matrix< std::complex< double >, 0, 0 > &  rhs) const
inline

Multiplication operator.

Matrix< std::complex< double >, 0, 0 > & TBTK::Matrix< std::complex< double >, 0, 0 >::operator= ( const Matrix< std::complex< double >, 0, 0 > &  rhs)
inline

Assignment operator.

Matrix< std::complex< double >, 0, 0 > & TBTK::Matrix< std::complex< double >, 0, 0 >::operator= ( Matrix< std::complex< double >, 0, 0 > &&  rhs)
inline

Move assignment operator.


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