Learn R Programming

CircNNTSR (version 2.0)

nntsDistribution: NNTS Distribution function

Description

Cumulative distribution function in terms of c parameters at theta

Usage

nntsDistribution(theta, cpars = 1/sqrt(2 * pi), M = 0)

Arguments

theta
vector of angles in radians at which the distribution is computed
cpars
vector of complex numbers of dimension M+1. The first element is a real and positive number. The sum of the SQUARED moduli of the c parameters must be equal to 1/(2*pi).
M
number of components in the NNTS

Value

  • The function gives the value of the cumulative distribution function evaluated at each component of theta

Examples

Run this code
ccoef<-nntsrandominitial(3)
nntsDistribution(c(0,pi/2,pi,2*pi-.000001),ccoef,3)

Run the code above in your browser using DataLab