S2kit  1.1
Toolkit for working with functions defined on the sphere
chebyshev_nodes.c File Reference

Utils for generating Chebyshev nodes. More...

#include "s2kit/chebyshev_nodes.h"
#include <math.h>

Go to the source code of this file.

Functions

void AcosOfChebyshevNodes (const int n, double *eval_points)
 Generates an array of the angular arguments of n Chebyshev nodes. More...
 
void ChebyshevNodes (const int n, double *eval_points)
 Generates an array of n Chebyshev nodes. More...
 

Detailed Description

Utils for generating Chebyshev nodes.

Definition in file chebyshev_nodes.c.

Function Documentation

◆ AcosOfChebyshevNodes()

void AcosOfChebyshevNodes ( const int  n,
double *  eval_points 
)

Generates an array of the angular arguments of n Chebyshev nodes.

Parameters
nlength of eval_points
eval_pointsarray of result arguments

Definition at line 16 of file chebyshev_nodes.c.

◆ ChebyshevNodes()

void ChebyshevNodes ( const int  n,
double *  eval_points 
)

Generates an array of n Chebyshev nodes.

Parameters
nlength of eval_points
eval_pointsarray of result nodes

Definition at line 29 of file chebyshev_nodes.c.