SG++-Doxygen-Documentation
sgpp::combigrid::ChebyshevDistribution Class Reference

Provides Chebyshev grid points, that is, the points 0.5 - 0.5*cos((2k + 1)*pi/(2n)) for k = 0, ..., n-1. More...

#include <ChebyshevDistribution.hpp>

Inheritance diagram for sgpp::combigrid::ChebyshevDistribution:
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 ~ChebyshevDistribution ()
 
- Public Member Functions inherited from sgpp::combigrid::AbstractPointDistribution
virtual ~AbstractPointDistribution ()
 

Detailed Description

Provides Chebyshev grid points, that is, the points 0.5 - 0.5*cos((2k + 1)*pi/(2n)) for k = 0, ..., n-1.

Constructor & Destructor Documentation

◆ ~ChebyshevDistribution()

sgpp::combigrid::ChebyshevDistribution::~ChebyshevDistribution ( )
virtual

Member Function Documentation

◆ compute()

double sgpp::combigrid::ChebyshevDistribution::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: