Adds a sum a Cosine functions to an elements of the function basis.
ak).ck).bk).An array where the k-th term is the exponent of the Cosine term within the (k+1)-th term of the sum of the Cosine terms (i.e. nk).k-th Term = ak * (Cosnk (bk * x + ck)),
where the Cosine function is in terms of radians, and ak, nk, bk, ck
are real numbers. Please, in order to construct the sum you just sum over k
starting at 0.
Radians are a means by which to describe the angle and are related to the more commonly
used degrees as follows:360 degrees = 2 * Pi * radians
therefore, 1 radian = 180 / Pi degrees = 57.295... degrees.
FactorModel Class | WebCab.Libraries.Statistics.CurveFitting Namespace