|
Discontinuous Galerkin Library
#include "dg/algorithm.h"
|
#include <vector>#include <algorithm>#include <cmath>#include <iterator>#include <stdexcept>#include <cassert>#include "dlt.h"#include "../blas1.h"#include "../blas2.h"Go to the source code of this file.
Classes | |
| class | dg::SquareMatrix< T > |
| A square nxn matrix. More... | |
| struct | dg::TensorTraits< SquareMatrix< T > > |
Namespaces | |
| namespace | dg |
| This is the namespace for all functions and classes defined and used by the discontinuous Galerkin library. | |
| namespace | dg::create |
| Contains functions used for matrix creation. | |
Typedefs | |
| template<class T > | |
| using | dg::Operator = SquareMatrix<T> |
| The old name for SquareMatrix was Operator. | |
Functions | |
| template<class T > | |
| T | dg::create::lu_pivot (dg::SquareMatrix< T > &m, std::vector< unsigned > &p) |
| LU Decomposition with partial pivoting. | |
| template<class T > | |
| dg::SquareMatrix< T > | dg::create::inverse (const dg::SquareMatrix< T > &in) |
| Invert a square matrix. | |
| template<class T > | |
| void | dg::lu_solve (const dg::SquareMatrix< T > &lu, const std::vector< unsigned > &p, std::vector< T > &b) |
| Solve the linear system with the LU decomposition. | |
| template<class T > | |
| dg::SquareMatrix< T > | dg::invert (const dg::SquareMatrix< T > &in) |
Compute inverse of square matrix (alias for dg::create::inverse) | |