lstsq
Compute a least-squares solution to Ax ≈ b, finding the best approximate fit for overdetermined or inconsistent linear systems.
Instructions
Compute a least-squares solution to Ax ≈ b.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes | ||
| method | No | gelsd | |
| regularization | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||