SG++
sgpp::combigrid::ClenshawCurtisDistribution Class Reference

Provides Clenshaw-Curtis grid points, that is, the points 0.5 - 0.5 cos(k*pi/(n-1)) for k = 0, ..., n or 0.5, if n = 1. More...

#include <ClenshawCurtisDistribution.hpp>

Inheritance diagram for sgpp::combigrid::ClenshawCurtisDistribution:
sgpp::combigrid::AbstractPointDistribution

Public Member Functions

virtual double compute (size_t numPoints, size_t j)
 computes the j-th grid point from the set of numPoints grid points. More...
 
virtual ~ClenshawCurtisDistribution ()
 
- Public Member Functions inherited from sgpp::combigrid::AbstractPointDistribution
virtual ~AbstractPointDistribution ()
 

Detailed Description

Provides Clenshaw-Curtis grid points, that is, the points 0.5 - 0.5 cos(k*pi/(n-1)) for k = 0, ..., n or 0.5, if n = 1.

Constructor & Destructor Documentation

sgpp::combigrid::ClenshawCurtisDistribution::~ClenshawCurtisDistribution ( )
virtual

Member Function Documentation

double sgpp::combigrid::ClenshawCurtisDistribution::compute ( size_t  numPoints,
size_t  j 
)
virtual

computes the j-th grid point from the set of numPoints grid points.

Implements sgpp::combigrid::AbstractPointDistribution.

References M_PI.


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