|
| Matrix (void) |
| Constructor.
|
|
| Matrix (int nrows, int ncols) |
| Constructor.
|
|
| Matrix (double *data, int nrows, int ncols) |
|
| Matrix (const boost::python::list &l) |
| Constructor (interfaz Python).
|
|
int | setData (double *newData, int nRows, int nCols) |
|
const double * | getDataPtr (void) const |
|
double * | getDataPtr (void) |
|
bool | Nula (void) const |
|
int | getDataSize (void) const |
|
int | getNumBytes (void) const |
|
int | noRows () const |
|
int | noCols () const |
|
void | Zero (void) |
|
void | Identity (void) |
|
int | resize (int numRow, int numCol) |
|
int | Assemble (const Matrix &, const ID &rows, const ID &cols, double fact=1.0) |
|
int | Solve (const Vector &V, Vector &res) const |
|
int | Solve (const Matrix &M, Matrix &res) const |
|
int | Invert (Matrix &res) const |
|
double | rowSum (int i) const |
| Returns the sum of the i-th row.
|
|
double | columnSum (int j) const |
| Returns the sum of the j-th row.
|
|
double | rowNorm (void) const |
| Returns the maximum value of the elements of the vector that results that contains the row sums.
|
|
double | columnNorm (void) const |
| Returns the maximum value of the elements of the vector that results that contains the column sums.
|
|
double | Norm2 (void) const |
| Returns the squared modulus (euclidean norm) of the matrix.
|
|
double | Norm (void) const |
| Returns the modulus (euclidean norm) of the matrix.
|
|
int | addMatrix (double factThis, const Matrix &other, double factOther) |
|
int | addMatrixProduct (double factThis, const Matrix &A, const Matrix &B, double factOther) |
|
int | addMatrixTripleProduct (double factThis, const Matrix &A, const Matrix &B, double factOther) |
|
double & | operator() (int row, int col) |
|
const double & | operator() (int row, int col) const |
|
Matrix | operator() (const ID &rows, const ID &cols) const |
|
Vector | getRow (int row) const |
| Return the fila which index being passed as parameter.
|
|
Vector | getCol (int col) const |
| Return the columna which index being passed as parameter.
|
|
template<class TNSR > |
Matrix & | operator= (const TNSR &) |
|
bool | isRow (void) const |
|
bool | isColumn (void) const |
|
Matrix & | operator+= (double fact) |
|
Matrix & | operator-= (double fact) |
|
Matrix & | operator*= (double fact) |
|
Matrix & | operator/= (double fact) |
|
Matrix | operator+ (double fact) const |
|
Matrix | operator- (double fact) const |
|
Matrix | operator* (double fact) const |
|
Matrix | operator/ (double fact) const |
|
Vector | operator* (const Vector &V) const |
|
Vector | operator^ (const Vector &V) const |
|
Matrix | operator+ (const Matrix &M) const |
|
Matrix | operator- (const Matrix &M) const |
|
Matrix | operator* (const Matrix &M) const |
|
Matrix | operator^ (const Matrix &M) const |
|
Matrix & | operator+= (const Matrix &M) |
|
Matrix & | operator-= (const Matrix &M) |
|
Matrix | getTrn (void) const |
| Return the transpuesta.
|
|
void | Output (std::ostream &s) const |
| Output method.
|
|
void | Input (const std::string &) |
| Lectura desde cadena de caracteres.
|
|
void | write (std::ofstream &) |
| Escribe la matriz en un archivo binario.
|
|
void | read (std::ifstream &) |
| Lee la matriz de un archivo binario.
|
|
int | Assemble (const Matrix &V, int init_row, int init_col, double fact=1.0) |
| Assemble.
|
|
int | AssembleTranspose (const Matrix &V, int init_row, int init_col, double fact=1.0) |
|
int | Extract (const Matrix &V, int init_row, int init_col, double fact=1.0) |
|
std::string | toString (void) const |
|
template<class TNSR > |
XC::Matrix & | operator= (const TNSR &V) |
|