SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
sgpp::base::Distribution Class Referenceabstract

stores a sparse grid not a knot B-spline interpolant in the framework of a respsonse surface More...

#include <Distribution.hpp>

Inheritance diagram for sgpp::base::Distribution:
sgpp::base::DistributionBeta sgpp::base::DistributionLogNormal sgpp::base::DistributionNormal sgpp::base::DistributionTruncExponential sgpp::base::DistributionTruncGamma sgpp::base::DistributionTruncNormal sgpp::base::DistributionUniform

Public Member Functions

 Distribution (typename std::chrono::system_clock::duration::rep seed=777)
 Constructor.
 
virtual double eval (double x)=0
 
virtual sgpp::base::DataVector getBounds ()=0
 
virtual sgpp::base::DataVector getCharacteristics ()=0
 return all relevant characteristic values (e.g.
 
virtual sgpp::base::DistributionType getType ()=0
 
virtual double sample ()=0
 
sgpp::base::DataVector samples (size_t num)
 
virtual ~Distribution ()
 Destructor.
 

Protected Attributes

std::default_random_engine gen
 

Detailed Description

stores a sparse grid not a knot B-spline interpolant in the framework of a respsonse surface

Constructor & Destructor Documentation

◆ Distribution()

sgpp::base::Distribution::Distribution ( typename std::chrono::system_clock::duration::rep  seed = 777)
inline

Constructor.

Parameters
seedif a seed should be set, ii.e. for precalculating and reusing grids set one here, otherwise a pseudo random seed is set automatically

References gen.

◆ ~Distribution()

virtual sgpp::base::Distribution::~Distribution ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ eval()

◆ getBounds()

◆ getCharacteristics()

virtual sgpp::base::DataVector sgpp::base::Distribution::getCharacteristics ( )
pure virtual

◆ getType()

◆ sample()

◆ samples()

Member Data Documentation

◆ gen


The documentation for this class was generated from the following files: