CHROMA
Public Member Functions | Public Attributes | List of all members

This is a square matrix. More...

#include <containers.h>

Public Member Functions

 Matrix ()
 
 Matrix (const multi2d< T > &v)
 
 Matrix (int size)
 
 ~Matrix ()
 
void resize (int size)
 
int size () const
 
int ld () const
 
int Nmat () const
 
Toperator() (int i, int j)
 

Public Attributes

multi2d< Tmat
 
int N
 

Detailed Description

template<class T>
class Chroma::LinAlg::Matrix< T >

This is a square matrix.

Definition at line 327 of file containers.h.

Constructor & Destructor Documentation

◆ Matrix() [1/3]

template<class T >
Chroma::LinAlg::Matrix< T >::Matrix ( )
inline

Definition at line 333 of file containers.h.

◆ Matrix() [2/3]

template<class T >
Chroma::LinAlg::Matrix< T >::Matrix ( const multi2d< T > &  v)
inline

Definition at line 334 of file containers.h.

◆ Matrix() [3/3]

template<class T >
Chroma::LinAlg::Matrix< T >::Matrix ( int  size)
inline

◆ ~Matrix()

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

Definition at line 342 of file containers.h.

Member Function Documentation

◆ ld()

template<class T >
int Chroma::LinAlg::Matrix< T >::ld ( ) const
inline

Definition at line 346 of file containers.h.

References Chroma::LinAlg::Matrix< T >::mat.

◆ Nmat()

template<class T >
int Chroma::LinAlg::Matrix< T >::Nmat ( ) const
inline

Definition at line 347 of file containers.h.

References Chroma::LinAlg::Matrix< T >::N.

◆ operator()()

template<class T >
T& Chroma::LinAlg::Matrix< T >::operator() ( int  i,
int  j 
)
inline

Definition at line 348 of file containers.h.

References Chroma::i, j, and Chroma::LinAlg::Matrix< T >::mat.

◆ resize()

template<class T >
void Chroma::LinAlg::Matrix< T >::resize ( int  size)
inline

◆ size()

template<class T >
int Chroma::LinAlg::Matrix< T >::size ( void  ) const
inline

Member Data Documentation

◆ mat

template<class T >
multi2d<T> Chroma::LinAlg::Matrix< T >::mat

◆ N

template<class T >
int Chroma::LinAlg::Matrix< T >::N

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