Global

Methods

clenshawCosSeries(sinθ, cosθ, C) → {number}

Clenshaw summation to sum trigonometric cos series ∑ Cₙcos(2n+1)θ
Parameters:
Name Type Description
sinθ number Value of sin θ.
cosθ number Value of cos θ.
C Array.<number> Series expansion coefficients (0-based array).
Source:
Returns:
Series sum.
Type
number

clenshawCosSeries(sinθ, cosθ, C) → {number}

Clenshaw summation to sum trigonometric cos series ∑ Cₙcos(2n+1)θ
Parameters:
Name Type Description
sinθ number Value of sin θ.
cosθ number Value of cos θ.
C Array.<number> Series expansion coefficients (0-based array).
Source:
Returns:
Series sum.
Type
number

clenshawSinSeries(sinθ, cosθ, C) → {number}

Clenshaw summation to sum trigonometric sin series ∑ Cₙsin2nθ
Parameters:
Name Type Description
sinθ number Value of sin θ.
cosθ number Value of cos θ.
C Array.<number> Series expansion coefficients (1-based array).
Source:
Returns:
Series sum.
Type
number

clenshawSinSeries(sinθ, cosθ, C) → {number}

Clenshaw summation to sum trigonometric sin series ∑ Cₙsin2nθ
Parameters:
Name Type Description
sinθ number Value of sin θ.
cosθ number Value of cos θ.
C Array.<number> Series expansion coefficients (1-based array).
Source:
Returns:
Series sum.
Type
number