The numeric package provides algorithms from various areas of numerical mathematics.
The package functions are called using the package name numeric and the name of the function. E.g., use
to call the numerical solver. This mechanism avoids naming conflicts with other library functions. If this is found to be inconvenient, the routines of the numeric package may be exported via use. E.g., after calling
the function numeric::fsolve may be called directly:
All routines of the numeric package are exported simultaneously by
Note, however, that presently naming conflicts with the functions indets, int, linsolve, rationalize, solve and sort of the standard library exist. The corresponding functions of the numeric package are not exported. Further, if the identifier fsolve, say, already has a value, then use returns a warning and does not export numeric::fsolve. The value of the identifier fsolve must be deleted before it can be exported successfully from the numeric package.