HOPS
HOPS class reference
Public Member Functions | List of all members
hops::MHO_linalg_matrix< XValueType > Class Template Reference

#include <MHO_LinearAlgebraUtilities.hh>

Public Member Functions

 MHO_linalg_matrix ()
 
 MHO_linalg_matrix (const MHO_linalg_matrix &copy)
 
 MHO_linalg_matrix (MHO_linalg_matrix &&other)
 
 MHO_linalg_matrix (unsigned int nrows, unsigned int ncols)
 
XValueType frobenius_norm ()
 
unsigned int n_cols () const
 
unsigned int n_rows () const
 
XValueType & operator() (unsigned int i, unsigned int j)
 
const XValueType & operator() (unsigned int i, unsigned int j) const
 
MHO_linalg_matrix operator+ (const MHO_linalg_matrix &other)
 
MHO_linalg_matrixoperator+= (const MHO_linalg_matrix &b)
 
MHO_linalg_matrix operator- (const MHO_linalg_matrix &other)
 
MHO_linalg_matrixoperator-= (const MHO_linalg_matrix &b)
 
MHO_linalg_matrixoperator= (const MHO_linalg_matrix &other)
 
MHO_linalg_matrixoperator= (MHO_linalg_matrix &&other) noexcept
 
void resize (unsigned int nrows, unsigned int ncols)
 
void scale (const XValueType &scale_factor)
 
void set_as_identity ()
 
void zero ()
 

Constructor & Destructor Documentation

◆ MHO_linalg_matrix() [1/4]

template<typename XValueType = double>
hops::MHO_linalg_matrix< XValueType >::MHO_linalg_matrix ( )
inline

◆ MHO_linalg_matrix() [2/4]

template<typename XValueType = double>
hops::MHO_linalg_matrix< XValueType >::MHO_linalg_matrix ( unsigned int  nrows,
unsigned int  ncols 
)
inline

◆ MHO_linalg_matrix() [3/4]

template<typename XValueType = double>
hops::MHO_linalg_matrix< XValueType >::MHO_linalg_matrix ( const MHO_linalg_matrix< XValueType > &  copy)
inline

◆ MHO_linalg_matrix() [4/4]

template<typename XValueType = double>
hops::MHO_linalg_matrix< XValueType >::MHO_linalg_matrix ( MHO_linalg_matrix< XValueType > &&  other)
inline

Member Function Documentation

◆ frobenius_norm()

template<typename XValueType = double>
XValueType hops::MHO_linalg_matrix< XValueType >::frobenius_norm ( )
inline

◆ n_cols()

template<typename XValueType = double>
unsigned int hops::MHO_linalg_matrix< XValueType >::n_cols ( ) const
inline

◆ n_rows()

template<typename XValueType = double>
unsigned int hops::MHO_linalg_matrix< XValueType >::n_rows ( ) const
inline

◆ operator()() [1/2]

template<typename XValueType = double>
XValueType& hops::MHO_linalg_matrix< XValueType >::operator() ( unsigned int  i,
unsigned int  j 
)
inline

◆ operator()() [2/2]

template<typename XValueType = double>
const XValueType& hops::MHO_linalg_matrix< XValueType >::operator() ( unsigned int  i,
unsigned int  j 
) const
inline

◆ operator+()

template<typename XValueType = double>
MHO_linalg_matrix hops::MHO_linalg_matrix< XValueType >::operator+ ( const MHO_linalg_matrix< XValueType > &  other)
inline

◆ operator+=()

template<typename XValueType = double>
MHO_linalg_matrix& hops::MHO_linalg_matrix< XValueType >::operator+= ( const MHO_linalg_matrix< XValueType > &  b)
inline

◆ operator-()

template<typename XValueType = double>
MHO_linalg_matrix hops::MHO_linalg_matrix< XValueType >::operator- ( const MHO_linalg_matrix< XValueType > &  other)
inline

◆ operator-=()

template<typename XValueType = double>
MHO_linalg_matrix& hops::MHO_linalg_matrix< XValueType >::operator-= ( const MHO_linalg_matrix< XValueType > &  b)
inline

◆ operator=() [1/2]

template<typename XValueType = double>
MHO_linalg_matrix& hops::MHO_linalg_matrix< XValueType >::operator= ( const MHO_linalg_matrix< XValueType > &  other)
inline

◆ operator=() [2/2]

template<typename XValueType = double>
MHO_linalg_matrix& hops::MHO_linalg_matrix< XValueType >::operator= ( MHO_linalg_matrix< XValueType > &&  other)
inlinenoexcept

◆ resize()

template<typename XValueType = double>
void hops::MHO_linalg_matrix< XValueType >::resize ( unsigned int  nrows,
unsigned int  ncols 
)
inline

◆ scale()

template<typename XValueType = double>
void hops::MHO_linalg_matrix< XValueType >::scale ( const XValueType &  scale_factor)
inline

◆ set_as_identity()

template<typename XValueType = double>
void hops::MHO_linalg_matrix< XValueType >::set_as_identity ( )
inline

◆ zero()

template<typename XValueType = double>
void hops::MHO_linalg_matrix< XValueType >::zero ( )
inline

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