The pois-solv package
We can now gather the four functions
pois_fd into an Octave package. There are a few advantages of packing the functions together rather than just copying the individual m-files:
- The files are archived into single standard file format.
- You can install the package easily with the
pkgcommand, load and unload the functions, and not be concerned with where the functions are located (that is, if they are in the Octave search path).
- With the package, you can add any relevant information about the functionality.
- You can upload the package to Octave-Forge.
There are a few things we need to do in order to package the functions properly.
Organizing files into the package directory
First you will need ...