
The  orthoexp.zip  archive file contains a directory (folder) OrthogonalExpansions/ which
contains the following files:

  OrthogonalExpansionsInstaller.mla   Self-extracting archive file
                                      (contains and unpacks all the files below)

  lib/OrthogonalExpansions.mla        Maple Library Archive file
  lib/OrthogonalExpansions.hdb        Maple Help Database file (Maple 18 and earlier)
  lib/OrthogonalExpansions.help       Maple Help Database file (Maple 2015 and later)

  examples.mw                         Example worksheet demonstrating package usage

  source/OrthogonalExpansions.mw      Worksheet contain package source, in worksheet format
                                      (for extension and improvement purposes)
  source/Help/*.mw                    Source for the help files, in worksheet format
                                      (for extension and improving purposes)

  ReadMe.txt                          This text file


Package installation instructions. (choose just one)
----------------------------------------------------

The following choices are listed in order of increasing complexity. Choice A) is simplest.


A) Installation as toolbox (Maple version nonspecific), using the automatic Installer:

    1. Launch the Maple Standard interface (GUI), and using the main menu (File -> Open)
       select and open the installer file OrthogonalExpansionsInstaller.mla and then
       follow the simple click-through instructions.

    2. When the automatic installation is finished close all instances of that Maple
       (version) program. There is no need to save any worksheet opened by this process.
       Upon subsequent relaunch of the Maple program the package commands and help will
       be available.

This above makes the package available from any Maple version. The files will
all be unpacked to a location under the user's home directory, which should
correspond to whatever the following Maple command returns

  cat(kernelopts(':-homedir'),"/maple/toolbox/OrthogonalExpansions");


B) Installation as toolbox (Maple version nonspecific), copying files manually:

    1. Execute the Maple command

        cat(kernelopts(':-homedir'),"/maple/toolbox/OrthogonalExpansions");

    2. Create that directory (folder) location and the subdirectory  lib  within it.
    3. Copy the following three files into that  lib  subdirectory.

        OrthogonalExpansions.mla         Maple Library Archive file
        OrthogonalExpansions.hdb         Maple Help Database file
        OrthogonalExpansions.help        Maple Help Database file

    4. Close all instances of that Maple (version) program. Upon subsequent relaunch
       of the Maple program the package commands and help will be available.
    5. Copy the example.mw worksheet or other files to any location of your choice.

The above makes the package available from any Maple version.


C) Installation using the Maple system location (Maple version specific only):

    1. Find the directory where your Maple installed.
    2. Find the subdirectory \lib\
    3. Copy the following three files into this subdirectory:
        OrthogonalExpansions.mla         Maple Library Archive file
        OrthogonalExpansions.hdb         Maple Help Database file
        OrthogonalExpansions.help        Maple Help Database file
    4. Close all instances of that Maple (version) program. Upon subsequent relaunch
       of the Maple program the package commands and help will be available.
    5. Copy the example.mw worksheet or other files to any location of your choice.

The above makes the package available from only the version of Maple to which you
have copied the Library Archive and Help Database files.


D) Installation to a custom private location:

    1. Create a directory or your choice, for example, C:\\OrthogonalExpansionsLib\
    2. Copy the following three files into that directory:
        OrthogonalExpansions.mla         Maple Library Archive file,
        OrthogonalExpansions.hdb         Maple Help Database file.
        OrthogonalExpansions.hdb         Maple Help Database file.
Now, 3a. makes the commands available in a particular subsequent Maple session, while
3b. makes the commands and the help be available in any subsequent Maple session.
    3a. In any subsequent Maple session or worksheet execute the command:
          libname := "C:\\OrthogonalExpansionsLib", libname;
    3b. Add the following command statement to your Maple initialization file (which
        is platform specific.)
          libname := "C:\\OrthogonalExpansionsLib", libname;
        See the Maple Help topic  for details of the possible locations for your
        Maple initialization file.

Whether the above makes the package available to just a specific session depends on whether
the libname augmentation is done per session or in a Maple initialization file. And whether
the package is avialable across Maple versions of just for a single Maple version depends
on the location and type of Maple initialization file used.



Package command usage
---------------------

The package's commands are available in short form after loading the package
using the Maple command `with`. For example,

     with(OrthogonalExpansions);
     FourierSeries(x+x^2, x=-Pi..Pi, n);

The package's commands are also available individually using the long form
command names. For example,

    OrthogonalExpansions:-FourierSeries(x+x^2, x=-Pi..Pi, n);

The access to the package help is analogous to the other packages' help.
The Help topic  OrthogonalExpansions  displays the package's primary help page.

