NeoPZ
Private Member Functions | List of all members
TPZGenAMatrix< TObj > Class Template Reference

Implements a generic matrix of objects which implement arithmetic operations. Matrix. More...

#include <pzshtmat.h>

Inheritance diagram for TPZGenAMatrix< TObj >:
[legend]
Collaboration diagram for TPZGenAMatrix< TObj >:
[legend]

Private Member Functions

 TPZGenAMatrix ()
 
 TPZGenAMatrix (const int64_t rows, const int64_t columns)
 
TPZGenAMatrix operator+ (const TPZGenAMatrix< TObj > &rval) const
 
TPZGenAMatrix operator+ (const TObj x) const
 
TPZGenAMatrix operator- (const TPZGenAMatrix< TObj > &rval) const
 
TPZGenAMatrix operator- (const TObj rval) const
 
TPZGenAMatrix operator- () const
 
TPZGenAMatrix operator* (const TPZGenAMatrix< TObj > &rval) const
 
TPZGenAMatrix operator* (const TObj rval) const
 
TPZGenAMatrix< TObj > & operator+= (const TPZGenAMatrix< TObj > &rval)
 
TPZGenAMatrix< TObj > & operator+= (const TObj x)
 
TPZGenAMatrix< TObj > & operator-= (const TPZGenAMatrix< TObj > &rval)
 
TPZGenAMatrix< TObj > & operator-= (const TObj x)
 
TPZGenAMatrix< TObj > & operator*= (const TObj x)
 
TPZGenAMatrix< TObj > Transpose () const
 

Additional Inherited Members

- Public Member Functions inherited from TPZGenMatrix< TObj >
 TPZGenMatrix ()
 Constructor creating Null matrix. More...
 
 TPZGenMatrix (const int64_t rows, const int64_t columns)
 Constructor creating a rows x columns matrix. More...
 
 TPZGenMatrix (const TPZGenMatrix &A)
 Constructor copy initializer. More...
 
 ~TPZGenMatrix ()
 
void Print (const char *mess, std::ostream &out=std::cout) const
 
int64_t Rows () const
 
int64_t Cols () const
 
void Resize (const int64_t newrow, const int64_t newcol)
 
TPZGenMatrix< TObj > & operator= (const TPZGenMatrix< TObj > &rval)
 
TObj & operator() (const int64_t row, const int64_t column=0) const
 
- Protected Attributes inherited from TPZGenMatrix< TObj >
TObj * fMem
 Pointer to matrix. More...
 
int64_t fRows
 Number of rows and columns. More...
 
int64_t fCols
 

Detailed Description

template<class TObj>
class TPZGenAMatrix< TObj >

Implements a generic matrix of objects which implement arithmetic operations. Matrix.

Definition at line 64 of file pzshtmat.h.

Constructor & Destructor Documentation

◆ TPZGenAMatrix() [1/2]

template<class TObj>
TPZGenAMatrix< TObj >::TPZGenAMatrix ( )
inlineprivate

Definition at line 66 of file pzshtmat.h.

◆ TPZGenAMatrix() [2/2]

template<class TObj>
TPZGenAMatrix< TObj >::TPZGenAMatrix ( const int64_t  rows,
const int64_t  columns 
)
inlineprivate

Definition at line 68 of file pzshtmat.h.

References operator*(), operator+(), operator-(), and operator-=().

Member Function Documentation

◆ operator*() [1/2]

template<class TObj >
TPZGenAMatrix< TObj > TPZGenAMatrix< TObj >::operator* ( const TPZGenAMatrix< TObj > &  rval) const
private

◆ operator*() [2/2]

template<class TObj >
TPZGenAMatrix< TObj > TPZGenAMatrix< TObj >::operator* ( const TObj  rval) const
private

◆ operator*=()

template<class TObj >
TPZGenAMatrix< TObj > & TPZGenAMatrix< TObj >::operator*= ( const TObj  x)
private

Definition at line 209 of file pzshtmat.cpp.

◆ operator+() [1/2]

template<class TObj >
TPZGenAMatrix< TObj > TPZGenAMatrix< TObj >::operator+ ( const TPZGenAMatrix< TObj > &  rval) const
private

◆ operator+() [2/2]

template<class TObj >
TPZGenAMatrix< TObj > TPZGenAMatrix< TObj >::operator+ ( const TObj  x) const
private

◆ operator+=() [1/2]

template<class TObj >
TPZGenAMatrix< TObj > & TPZGenAMatrix< TObj >::operator+= ( const TPZGenAMatrix< TObj > &  rval)
private

◆ operator+=() [2/2]

template<class TObj >
TPZGenAMatrix< TObj > & TPZGenAMatrix< TObj >::operator+= ( const TObj  x)
private

Definition at line 178 of file pzshtmat.cpp.

◆ operator-() [1/3]

template<class TObj >
TPZGenAMatrix< TObj > TPZGenAMatrix< TObj >::operator- ( const TPZGenAMatrix< TObj > &  rval) const
private

◆ operator-() [2/3]

template<class TObj >
TPZGenAMatrix< TObj > TPZGenAMatrix< TObj >::operator- ( const TObj  rval) const
private

◆ operator-() [3/3]

template<class TObj >
TPZGenAMatrix< TObj > TPZGenAMatrix< TObj >::operator- ( ) const
private

◆ operator-=() [1/2]

template<class TObj >
TPZGenAMatrix< TObj > & TPZGenAMatrix< TObj >::operator-= ( const TPZGenAMatrix< TObj > &  rval)
private

◆ operator-=() [2/2]

template<class TObj >
TPZGenAMatrix< TObj > & TPZGenAMatrix< TObj >::operator-= ( const TObj  x)
private

Definition at line 201 of file pzshtmat.cpp.

◆ Transpose()

template<class TObj >
TPZGenAMatrix< TObj > TPZGenAMatrix< TObj >::Transpose ( ) const
private

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