lsfits.h File Reference
#include <algorithm>
#include <stdexcept>
#include <string>
#include <vector>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include "wonton/support/CoordinateSystem.h"
#include "wonton/support/Point.h"
#include "wonton/support/Matrix.h"
#include "wonton/support/svd.h"
Go to the source code of this file.
Namespaces | |
Wonton | |
Factorize a number N into D equal (or nearly equal) factors. | |
Functions | |
template<int D, typename CoordSys = CartesianCoordinates> | |
Vector< D > | Wonton::ls_gradient (std::vector< Point< D >> const &coords, std::vector< double > const &vals) |
Compute least squares gradient from set of values. More... | |
template<int D> | |
Vector< D *(D+3)/2 > | Wonton::ls_quadfit (std::vector< Point< D >> const &coords, std::vector< double > const &vals, bool const boundary_element) |
Compute least squares quadfit from set of values. More... | |