This function transforms the complex parameters c to the parameters ab, for a
reparameterization of the density function
Usage
nntsABcoefficients(cpars = 1/sqrt(2 * pi), M = 0)
Arguments
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 returns the parameters ab associated with the pararameters cpars. Returns a vector of size 2*M,
the first M elements are the a_k, k=1,...,M, and the next
M elements are the b_k, k=1,...,M