Convenience function that takes a forward range X and a forward range Y, creates an array of PowMap structs for integer powers from 0 through N, and calls linearRegressBeta.
An array of doubles. The index of each element corresponds to the exponent. For example, the X<sup>2</sup> term will have an index of 2.
See Implementation
Convenience function that takes a forward range X and a forward range Y, creates an array of PowMap structs for integer powers from 0 through N, and calls linearRegressBeta.