NeoPZ
|
Contains the implementation of the TPZMatrix<>methods. More...
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <memory.h>
#include <sstream>
#include <set>
#include "pzmatrix.h"
#include "pzsolve.h"
#include "pzvec.h"
#include "pzextractval.h"
#include <exception>
#include "pzlog.h"
#include <complex>
#include "cg.h"
#include "gmres.h"
#include "pzstepsolver.h"
#include "bicg.h"
#include "bicgstab.h"
#include "ir.h"
Go to the source code of this file.
Functions | |
template<class TVar > | |
TPZFMatrix< TVar > | operator+ (const TPZMatrix< TVar > &A, const TPZMatrix< TVar > &B) |
Implements sum of matrices: . More... | |
template<class TVar > | |
TPZFMatrix< TVar > | operator- (const TPZMatrix< TVar > &A, const TPZMatrix< TVar > &B) |
Implements difference of matrices: . More... | |
template<class TVar > | |
TPZFMatrix< TVar > | operator* (TPZMatrix< TVar > &A, const TPZFMatrix< TVar > &B) |
Implements product of matrices: . More... | |
template<class TVar > | |
std::istream & | operator>> (std::istream &in, TPZMatrix< TVar > &A) |
Overload >> operator to input data of the matrix. More... | |
template<class TVar > | |
std::ostream & | operator<< (std::ostream &out, const TPZMatrix< TVar > &A) |
Overload << operator to output entries of the matrix. More... | |
template std::ostream & | operator<< (std::ostream &out, const TPZMatrix< int > &A) |
template std::ostream & | operator<< (std::ostream &out, const TPZMatrix< float > &A) |
template std::ostream & | operator<< (std::ostream &out, const TPZMatrix< double > &A) |
template std::ostream & | operator<< (std::ostream &out, const TPZMatrix< long double > &A) |
template std::ostream & | operator<< (std::ostream &out, const TPZMatrix< std::complex< float > > &A) |
template std::ostream & | operator<< (std::ostream &out, const TPZMatrix< std::complex< double > > &A) |
Contains the implementation of the TPZMatrix<>methods.
Definition in file pzmatrix.cpp.
TPZFMatrix<TVar> operator* | ( | TPZMatrix< TVar > & | A, |
const TPZFMatrix< TVar > & | B | ||
) |
Implements product of matrices: .
Definition at line 128 of file pzmatrix.cpp.
References TPZMatrix< TVar >::Cols(), TPZMatrix< TVar >::Multiply(), TPZFMatrix< TVar >::Redim(), test::res, and TPZMatrix< TVar >::Rows().
TPZFMatrix<TVar> operator+ | ( | const TPZMatrix< TVar > & | A, |
const TPZMatrix< TVar > & | B | ||
) |
Implements sum of matrices: .
Definition at line 108 of file pzmatrix.cpp.
References TPZMatrix< TVar >::Add(), TPZMatrix< TVar >::Cols(), TPZFMatrix< TVar >::Redim(), and TPZMatrix< TVar >::Rows().
TPZFMatrix<TVar> operator- | ( | const TPZMatrix< TVar > & | A, |
const TPZMatrix< TVar > & | B | ||
) |
Implements difference of matrices: .
Definition at line 118 of file pzmatrix.cpp.
References TPZMatrix< TVar >::Cols(), TPZFMatrix< TVar >::Redim(), test::res, TPZMatrix< TVar >::Rows(), and TPZMatrix< TVar >::Substract().
std::ostream& operator<< | ( | std::ostream & | out, |
const TPZMatrix< TVar > & | A | ||
) |
Overload << operator to output entries of the matrix.
Overload << operator to print entries of the matrix.
Definition at line 2058 of file pzmatrix.cpp.
References TPZMatrix< TVar >::Print().
template std::ostream& operator<< | ( | std::ostream & | out, |
const TPZMatrix< int > & | A | ||
) |
template std::ostream& operator<< | ( | std::ostream & | out, |
const TPZMatrix< float > & | A | ||
) |
template std::ostream& operator<< | ( | std::ostream & | out, |
const TPZMatrix< double > & | A | ||
) |
template std::ostream& operator<< | ( | std::ostream & | out, |
const TPZMatrix< long double > & | A | ||
) |
template std::ostream& operator<< | ( | std::ostream & | out, |
const TPZMatrix< std::complex< float > > & | A | ||
) |
template std::ostream& operator<< | ( | std::ostream & | out, |
const TPZMatrix< std::complex< double > > & | A | ||
) |
std::istream& operator>> | ( | std::istream & | in, |
TPZMatrix< TVar > & | A | ||
) |
Overload >> operator to input data of the matrix.
Definition at line 246 of file pzmatrix.cpp.
References TPZMatrix< TVar >::fCol, TPZMatrix< TVar >::fRow, TPZMatrix< TVar >::Get(), TPZMatrix< TVar >::Input(), and TPZMatRed< TVar, TSideMatrix >::Print().