#include <stdlib.h>
#include <string.h>
#include "linalg.h"
Go to the source code of this file.
|
void | leastsq (double **A, double *b, int n1, int n2) |
|
◆ leastsq()
void leastsq |
( |
double ** |
A, |
|
|
double * |
b, |
|
|
int |
n1, |
|
|
int |
n2 |
|
) |
| |
solve least square problem A.x = b A[0..n1-1][0..n2-1] is input b[0..n1-1] is input/output. Input dimension is n1, output dimension is n2 n1 >= n2
Definition at line 11 of file leastsq.c.