Discontinuous Galerkin Library
#include "dg/algorithm.h"
|
Go to the source code of this file.
Classes | |
struct | dg::LeastSquaresExtrapolation< ContainerType0, ContainerType1 > |
Evaluate a least squares fit More... | |
struct | dg::Extrapolation< ContainerType > |
Extrapolate a polynomial passing through up to three points. More... | |
Namespaces | |
namespace | dg |
This is the namespace for all functions and classes defined and used by the discontinuous Galerkin library. | |
Functions | |
template<class ContainerType0 , class ContainerType1 > | |
std::vector< double > | dg::least_squares (const std::vector< ContainerType0 > &bs, const ContainerType1 &b) |
Compute \( a = (B^T B)^{-1} B^T b\) for given \( B\) and \( a\). More... | |