Go to the source code of this file.
|
| namespace | dg |
| | This is the namespace for all functions and classes defined and used by the discontinuous Galerkin library.
|
| |
|
| template<class ContainerType0 , class ContainerType1 , class ContainerType2 > |
| std::vector< double > | dg::least_squares (const std::vector< ContainerType0 > &bs, const ContainerType1 &b, const ContainerType2 &weights) |
| | Compute \( a = (B^T W B)^{-1} WB^T b\) for given \( B\), weights \( W\) and right hand side \( b\).
|
| |
| template<class ContainerType0 , class ContainerType1 > |
| std::vector< double > | dg::least_squares (const std::vector< ContainerType0 > &bs, const ContainerType1 &b) |
| | An alias for least_squares( bs, b, 1.)
|
| |