| WebCab Probability and Statistics for Delphi (.NET) v3.6 | |
FactorModel.AddTanSum Method
Adds a sum of Tangent functions to the used as basis elements.
Parameters
- tanCoeff
- An array where the k-th term is the coefficient of the whole k-th tangent term within the sum.
- coefficient
- An array where the k-th term is the coefficient of the variable within the k-th tangent term within the sum (i.e.
coefficient as shown above). - constant
- An array where the k-th term is the constant shift of the tangent function of the k-th term within the sum (i.e. the
constant term as shown above). - exponent
- An array where the k-th term is the exponent of the tangent term within the k-th element of the sum (i.e.
n as shown above).
Remarks
Please note that
each term of the sum which makes up the basis function will take to form:
tanCoeff * (tann (coefficient * x + constant)),
where the Tangent function is in terms of radians.
Notes on the Radian measure
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.
See Also
FactorModel Class | WebCab.Libraries.Statistics.CurveFitting Namespace