polyfit.hpp : modify xn to xm

This commit is contained in:
yinjiajie 2018-01-07 16:21:49 +08:00 committed by Lorenz Meier
parent 42b4156bae
commit adfa795b79
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ We can accumulate VTV and VTY recursively as they are of fixed size, where:
VTV = transpose(V)*V =
__ __
| m+1 x0+x1+...+xm x0^2+x1^2+...+xm^3 .......... x0^n+x1^n+...+xn^n |
| m+1 x0+x1+...+xm x0^2+x1^2+...+xm^3 .......... x0^n+x1^n+...+xm^n |
|x0+x1+...+xm x0^2+x1^2+...+xm^3 x0^3+x1^3+...+xm^3 .......... x0^(n+1)+x1^(n+1)+...+xm^(n+1) |
| . . . . |
| . . . . |