Packages & Libraries
- Some commands in Maple become available only if an appropriate software package or library is invoked
- one package does fitting (regression)
- fit[leastsquare[ [x,y], y = a*x^2 + b*x + c, {a,b,c}]] ([[10,15,17,19],[3,4,5,6]]);
- stats is the Maple statistics package; it must be loaded before "fit" will work
- libraries are loaded using the "with" command
- repeat the "fit" command above — you don't have to re-type it!
- library routines may also be called
- readlib(floor); #truncates
- floor(1.7); floor(-0.5);