Cantera  3.0.0
Loading...
Searching...
No Matches
DenseMatrix.cpp File Reference
#include "cantera/numerics/DenseMatrix.h"
#include "cantera/base/stringUtils.h"
#include "cantera/base/global.h"
#include "cantera/numerics/eigen_dense.h"
Include dependency graph for DenseMatrix.cpp:

Go to the source code of this file.

Namespaces

namespace  Cantera
 Namespace for the Cantera kernel.
 

Functions

int solve (DenseMatrix &A, double *b, size_t nrhs=1, size_t ldb=0)
 Solve Ax = b. Array b is overwritten on exit with x.
 
int solve (DenseMatrix &A, DenseMatrix &b)
 Solve Ax = b for multiple right-hand-side vectors.
 
void multiply (const DenseMatrix &A, const double *const b, double *const prod)
 Multiply A*b and return the result in prod. Uses BLAS routine DGEMV.
 
void increment (const DenseMatrix &A, const double *const b, double *const prod)
 Multiply A*b and add it to the result in prod. Uses BLAS routine DGEMV.
 
int invert (DenseMatrix &A, size_t nn=npos)
 invert A. A is overwritten with A^-1.