The OpenD Programming Language

polyFit

Convenience function that takes a forward range X and a forward range Y, * creates an array of PowMap structs for integer powers 0 through N, * and calls linearRegress. * * Returns: A PolyFitRes containing the array of PowMap structs created and * a RegressRes. The PolyFitRes is alias this'd to the RegressRes.

PolyFitRes!(PowMap!(uint, T)[])
polyFit
(
T
U
)
(
U Y
,
T X
,
uint N
,
double confInt = 0.95
)

Meta