2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -16,7 +16,6 @@ bool polynomialfit(int obs, int degree,
|
|||
cov = gsl_matrix_alloc(degree, degree);
|
||||
|
||||
for(i=0; i < obs; i++) {
|
||||
gsl_matrix_set(X, i, 0, 1.0);
|
||||
for(j=0; j < degree; j++) {
|
||||
gsl_matrix_set(X, i, j, pow(dx[i], j));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue