polyfit.hpp : modify n to m+1

This commit is contained in:
yinjiajie 2018-01-07 16:04:30 +08:00 committed by Lorenz Meier
parent 3e0b8b7016
commit 42b4156bae
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 =
__ __
| n 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+...+xn^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) |
| . . . . |
| . . . . |