| Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
| Version 1.9 Build 1556 |
|
| Package | utility | |
| Module | fitting | |
| Tool | fitter |
| id | in | the id of a sub-tool | |
| Allowed: | fitter id | ||
| Default: | 0 | ||
- include 'fitting.g' # use the default fitter
- fit.linear(dfs.functional('hyper',2),0*(1:10)+1,1:5)
# equations are: x+y=1; x+y=2; ...
- fit.rank() # there is rank deficiency
1
- fit.deficiency()
1
- fit.constraint() # constraint equation used
[-1 1]
- fit.solution() # the solution (as expected)
[1.5 1.5]