Cantera  2.0
Classes | Namespaces | Functions
DenseMatrix.h File Reference

Headers for the DenseMatrix object, which deals with dense rectangular matrices and description of the numerics groupings of objects (see Numerical Utilities within Cantera and DenseMatrix ) . More...

#include "cantera/base/ct_defs.h"
#include "cantera/base/Array.h"
Include dependency graph for DenseMatrix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CELapackError
 Exception thrown when an LAPACK error is encountered associated with inverting or solving a matrix. More...
 
class  DenseMatrix
 A class for full (non-sparse) matrices with Fortran-compatible data storage, which adds matrix operations to class Array2D. More...
 

Namespaces

namespace  Cantera
 Provides class Nucleus.
 

Functions

int solve (DenseMatrix &A, double *b)
 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.
 

Detailed Description

Headers for the DenseMatrix object, which deals with dense rectangular matrices and description of the numerics groupings of objects (see Numerical Utilities within Cantera and DenseMatrix ) .

Definition in file DenseMatrix.h.