Function heongpu::chebyshev_nodes

Function Documentation

std::vector<double> heongpu::chebyshev_nodes(int n, double a, double b)

Generate Chebyshev interpolation nodes in interval [a, b].

Parameters:
  • n – Number of nodes

  • a – Lower bound of interval

  • b – Upper bound of interval

Returns:

std::vector<double> Vector of Chebyshev nodes