The MathToolBox package, listed at http://packagedata.net and available at https://yadi.sk/d/oC5lXLWa3PVEhi, contains a single .m
file, namely, MathToolBox.m
. But when I look at the contents of that file, I find a bunch of individualBeginPackage
expressions there, none seeming to be named MathToolBox
.
How should this be installed so that one can readily load it?
(I do wish that authors who publicly post packages would always include installation instructions! Today, the standard way seems to be to have a directory ThePackageName
that contains the actual package ThePackageName.m
, whose code begins with BeginPackage["ThePackageName`"]
; and a subdirectory Kernel
that contains a simple init.m
file of the form Needs[["ThePackageName`ThePackageName`"]
, or perhaps the same thing but with Get
instead of Needs
.)