Doxygen
1.9.1
|
Templates for using unstructured data. More...
#include "tsgLoadNeededValues.hpp"
Go to the source code of this file.
Namespaces | |
TasGrid | |
Encapsulates the Tasmanian Sparse Grid module. | |
Functions | |
bool | TasGrid::hasGPUBasis (TasmanianSparseGrid const &grid) |
Returns true if the grid has a GPU algorithm for computing the hierarchical basis. More... | |
template<typename scalar_type > | |
void | TasGrid::generateCoefficientsGPU (double const data_points[], int num_data, scalar_type model_values[], double tolerance, TasmanianSparseGrid &grid) |
Generates the coefficients and solves the least-squares problem. More... | |
template<typename scalar_type > | |
Data2D< scalar_type > | TasGrid::generateCoefficients (double const data_points[], int num_data, double const model_values[], double tolerance, TasmanianSparseGrid &grid) |
Generates the coefficients and solves the least-squares problem. More... | |
template<typename scalar_type > | |
void | TasGrid::loadUnstructuredDataL2tmpl (double const data_points[], int num_data, double const model_values[], double tolerance, TasmanianSparseGrid &grid) |
Template implementation that handles the case of Fourier grids vs. all other types. More... | |
void | TasGrid::loadUnstructuredDataL2 (double const data_points[], int num_data, double const model_values[], double tolerance, TasmanianSparseGrid &grid) |
Construct a sparse grid surrogate using a least-squares fit. More... | |
void | TasGrid::loadUnstructuredDataL2 (std::vector< double > const &data_points, std::vector< double > const &model_values, double tolerance, TasmanianSparseGrid &grid) |
Overload that used vectors and infers the number of data points from the size of the vectors. More... | |
Templates for using unstructured data.
Templates that infer the surrogate coefficients from unstructured data.