|
MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <vector>#include <math.h>#include "doubleEq.h"#include <iostream>#include "MatrixOps.h"
Include dependency graph for MatrixOps.cpp:Go to the source code of this file.
Functions | |
| double | doPartialPivot (Matrix *A, unsigned int row, unsigned int col, vector< unsigned int > *swaps) |
| Matrix * | matAlloc (unsigned int n) |
| double | matColNorm (Matrix *A) |
| Matrix * | matEyeAdd (const Matrix *A, double k) |
| void | matEyeAdd (Matrix *A, double k, unsigned int dummy) |
| void | matInv (Matrix *A, vector< unsigned int > *swaps, Matrix *invA) |
| Matrix * | matMatAdd (const Matrix *A, const Matrix *B, double alpha, double beta) |
| void | matMatAdd (Matrix *A, Matrix *B, double alpha, double beta, unsigned int resIndex) |
| Matrix * | matMatMul (Matrix *A, Matrix *B) |
| void | matMatMul (Matrix *A, Matrix *B, unsigned int resIndex) |
| void | matPermMul (Matrix *A, vector< unsigned int > *swaps) |
| void | matPrint (Matrix *A) |
| Matrix * | matScalShift (const Matrix *A, double mul, double add) |
| void | matScalShift (Matrix *A, double mul, double add, unsigned int dummy) |
| double | matTrace (Matrix *A) |
| Matrix * | matTrans (Matrix *A) |
| Vector * | matVecMul (Matrix *A, Vector *v) |
| void | triMatMul (Matrix *A, Matrix *B) |
| Vector * | vecAlloc (unsigned int n) |
| Vector * | vecMatMul (const Vector *v, Matrix *A) |
| void | vecPrint (Vector *v) |
| Vector * | vecScalShift (const Vector *v, double scal, double shift) |
| void | vecScalShift (Vector *v, double scal, double shift, unsigned int dummy) |
| Vector * | vecVecScalAdd (const Vector *v1, const Vector *v2, double alpha, double beta) |
| void | vecVecScalAdd (Vector *v1, Vector *v2, double alpha, double beta, unsigned int dummy) |
| double doPartialPivot | ( | Matrix * | A, |
| unsigned int | row, | ||
| unsigned int | col, | ||
| vector< unsigned int > * | swaps | ||
| ) |
Definition at line 314 of file MatrixOps.cpp.
References doubleEq().
Referenced by matInv().
Here is the call graph for this function:
Here is the caller graph for this function:| Matrix* matAlloc | ( | unsigned int | n | ) |
Definition at line 480 of file MatrixOps.cpp.
Referenced by MarkovSolver::computePadeApproximant(), MarkovSolverBase::init(), matEyeAdd(), matInv(), matMatAdd(), matMatMul(), matScalShift(), and matTrans().
Here is the caller graph for this function:| double matColNorm | ( | Matrix * | A | ) |
Definition at line 282 of file MatrixOps.cpp.
Referenced by MarkovSolver::computeMatrixExponential().
Here is the caller graph for this function:Definition at line 147 of file MatrixOps.cpp.
References matAlloc().
Referenced by MarkovSolver::computeMatrixExponential(), and MarkovSolver::computePadeApproximant().
Here is the call graph for this function:
Here is the caller graph for this function:| void matEyeAdd | ( | Matrix * | A, |
| double | k, | ||
| unsigned int | dummy | ||
| ) |
Definition at line 166 of file MatrixOps.cpp.
Definition at line 348 of file MatrixOps.cpp.
References doPartialPivot(), doubleEq(), EPSILON, matAlloc(), matPermMul(), and triMatMul().
Referenced by MarkovSolver::computePadeApproximant().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 111 of file MatrixOps.cpp.
References matAlloc().
Referenced by MarkovSolver::computePadeApproximant().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 125 of file MatrixOps.cpp.
Definition at line 36 of file MatrixOps.cpp.
References matAlloc().
Referenced by MarkovSolver::computeMatrixExponential(), MarkovSolver::computePadeApproximant(), and matMatMul().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 53 of file MatrixOps.cpp.
References FIRST, matMatMul(), and SECOND.
Here is the call graph for this function:| void matPermMul | ( | Matrix * | A, |
| vector< unsigned int > * | swaps | ||
| ) |
Definition at line 88 of file MatrixOps.cpp.
Referenced by matInv().
Here is the caller graph for this function:| void matPrint | ( | Matrix * | A | ) |
Definition at line 19 of file MatrixOps.cpp.
Definition at line 175 of file MatrixOps.cpp.
References matAlloc().
Referenced by MarkovSolver::computeMatrixExponential(), and MarkovSolver::computePadeApproximant().
Here is the call graph for this function:
Here is the caller graph for this function:| void matScalShift | ( | Matrix * | A, |
| double | mul, | ||
| double | add, | ||
| unsigned int | dummy | ||
| ) |
Definition at line 189 of file MatrixOps.cpp.
| double matTrace | ( | Matrix * | A | ) |
Definition at line 271 of file MatrixOps.cpp.
References moose::trace.
Referenced by MarkovSolver::computeMatrixExponential().
Here is the caller graph for this function:Definition at line 300 of file MatrixOps.cpp.
References matAlloc().
Here is the call graph for this function:Definition at line 235 of file MatrixOps.cpp.
References vecAlloc().
Here is the call graph for this function:Definition at line 67 of file MatrixOps.cpp.
Referenced by matInv().
Here is the caller graph for this function:| Vector* vecAlloc | ( | unsigned int | n | ) |
Definition at line 491 of file MatrixOps.cpp.
Referenced by matVecMul(), vecMatMul(), vecScalShift(), and vecVecScalAdd().
Here is the caller graph for this function:Definition at line 201 of file MatrixOps.cpp.
References vecAlloc().
Referenced by MarkovSolverBase::bilinearInterpolate(), and MarkovSolverBase::linearInterpolate().
Here is the call graph for this function:
Here is the caller graph for this function:| void vecPrint | ( | Vector * | v | ) |
Definition at line 29 of file MatrixOps.cpp.
Definition at line 215 of file MatrixOps.cpp.
References vecAlloc().
Here is the call graph for this function:| void vecScalShift | ( | Vector * | v, |
| double | scal, | ||
| double | shift, | ||
| unsigned int | dummy | ||
| ) |
Definition at line 226 of file MatrixOps.cpp.
Definition at line 249 of file MatrixOps.cpp.
References vecAlloc().
Referenced by MarkovSolverBase::bilinearInterpolate(), and MarkovSolverBase::linearInterpolate().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 261 of file MatrixOps.cpp.