NeoPZ
|
Implements generic class which holds a matrix of objects. Matrix. More...
#include <pzshtmat.h>
Public Member Functions | |
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 | |
TObj * | fMem |
Pointer to matrix. More... | |
int64_t | fRows |
Number of rows and columns. More... | |
int64_t | fCols |
Implements generic class which holds a matrix of objects. Matrix.
Definition at line 18 of file pzshtmat.h.
TPZGenMatrix< TObj >::TPZGenMatrix | ( | ) |
Constructor creating Null matrix.
Definition at line 12 of file pzshtmat.cpp.
TPZGenMatrix< TObj >::TPZGenMatrix | ( | const int64_t | rows, |
const int64_t | columns | ||
) |
Constructor creating a rows x columns matrix.
Definition at line 19 of file pzshtmat.cpp.
References TPZMatrix< TVar >::Rows().
TPZGenMatrix< TObj >::TPZGenMatrix | ( | const TPZGenMatrix< TObj > & | A | ) |
Constructor copy initializer.
Definition at line 35 of file pzshtmat.cpp.
References test::f, TPZGenMatrix< TObj >::fCols, TPZGenMatrix< TObj >::fMem, and TPZGenMatrix< TObj >::fRows.
TPZGenMatrix< TObj >::~TPZGenMatrix | ( | ) |
Definition at line 71 of file pzshtmat.cpp.
|
inline |
Definition at line 47 of file pzshtmat.h.
References TPZGenMatrix< TObj >::fCols, TPZGenMatrix< TObj >::operator()(), TPZGenMatrix< TObj >::operator=(), and TPZGenMatrix< TObj >::Resize().
Referenced by TPZGenAMatrix< TObj >::operator*(), pzshape::TPZShapeTriang::ShapeOrder(), pzshape::TPZShapeTetra::ShapeOrder(), pzshape::TPZShapePiram::ShapeOrder(), pzshape::TPZShapePrism::ShapeOrder(), pzshape::TPZShapeCube::ShapeOrder(), and pzshape::TPZShapeQuad::ShapeOrder().
TObj & TPZGenMatrix< TObj >::operator() | ( | const int64_t | row, |
const int64_t | column = 0 |
||
) | const |
Definition at line 217 of file pzshtmat.cpp.
References DebugStop.
Referenced by TPZGenMatrix< TObj >::Cols().
TPZGenMatrix< TObj > & TPZGenMatrix< TObj >::operator= | ( | const TPZGenMatrix< TObj > & | rval | ) |
Definition at line 79 of file pzshtmat.cpp.
References TPZGenMatrix< TObj >::fCols, TPZGenMatrix< TObj >::fMem, and TPZGenMatrix< TObj >::fRows.
Referenced by TPZGenMatrix< TObj >::Cols().
void TPZGenMatrix< TObj >::Print | ( | const char * | mess, |
std::ostream & | out = std::cout |
||
) | const |
Definition at line 269 of file pzshtmat.cpp.
Referenced by TPZCompElHDiv< TSHAPE >::NConnectShapeF().
void TPZGenMatrix< TObj >::Resize | ( | const int64_t | newrow, |
const int64_t | newcol | ||
) |
Definition at line 54 of file pzshtmat.cpp.
References TPZMatrix< TVar >::Cols(), and TPZMatrix< TVar >::Rows().
Referenced by TPZGenMatrix< TObj >::Cols().
|
inline |
Definition at line 45 of file pzshtmat.h.
References TPZGenMatrix< TObj >::fRows.
Referenced by pzshape::TPZShapePiram::ShapeOrder(), pzshape::TPZShapeTetra::ShapeOrder(), pzshape::TPZShapeTriang::ShapeOrder(), pzshape::TPZShapePrism::ShapeOrder(), pzshape::TPZShapeCube::ShapeOrder(), pzshape::TPZShapeQuad::ShapeOrder(), pzshape::TPZShapeLinear::ShapeOrder(), pzshape::TPZShapePiram::SideShapeOrder(), pzshape::TPZShapeTriang::SideShapeOrder(), pzshape::TPZShapeTetra::SideShapeOrder(), pzshape::TPZShapePrism::SideShapeOrder(), pzshape::TPZShapeCube::SideShapeOrder(), and pzshape::TPZShapeQuad::SideShapeOrder().
|
protected |
Definition at line 24 of file pzshtmat.h.
Referenced by TPZGenMatrix< TObj >::Cols(), TPZGenAMatrix< TObj >::operator*(), TPZGenAMatrix< TObj >::operator+(), TPZGenAMatrix< TObj >::operator+=(), TPZGenAMatrix< TObj >::operator-(), TPZGenAMatrix< TObj >::operator-=(), TPZGenMatrix< TObj >::operator=(), and TPZGenMatrix< TObj >::TPZGenMatrix().
|
protected |
Pointer to matrix.
Definition at line 22 of file pzshtmat.h.
Referenced by TPZGenAMatrix< TObj >::operator*(), TPZGenAMatrix< TObj >::operator+(), TPZGenAMatrix< TObj >::operator+=(), TPZGenAMatrix< TObj >::operator-(), TPZGenAMatrix< TObj >::operator-=(), TPZGenMatrix< TObj >::operator=(), TPZGenMatrix< TObj >::TPZGenMatrix(), and TPZGenAMatrix< TObj >::Transpose().
|
protected |
Number of rows and columns.
Definition at line 24 of file pzshtmat.h.
Referenced by TPZGenAMatrix< TObj >::operator*(), TPZGenAMatrix< TObj >::operator+(), TPZGenAMatrix< TObj >::operator+=(), TPZGenAMatrix< TObj >::operator-(), TPZGenAMatrix< TObj >::operator-=(), TPZGenMatrix< TObj >::operator=(), TPZGenMatrix< TObj >::Rows(), and TPZGenMatrix< TObj >::TPZGenMatrix().