A Mathematica package for the numerical solution of ODE eigenvalue problems via a pseudospectral method using the Bernstein basis.
SpectralBP was developed using Mathematica 11.0.
To install, download the latest release, which is distributed as a paclet file.
Open a Mathematica Notebook, and evaluate
PacletInstall["dir"]
where dir is the corresponding directory of the downloaded paclet. For example, "C:\Users\user\Downloads\SpectralBP-1.0.1.paclet".
Alternatively, one may save the paclet to Mathematica's default notebook directory, which may be found out by running the command $UserDocumentsDirectory
One may then evaluate
PacletInstall["SpectralBP-1.0.1.paclet"]
If installation is successful, one would be prompted by an output such as Paclet[SpectralBP-,1.0.1,<>].
To use SpectralBP, one may simply evaluate
Needs["SpectralBP`"]
To find documentation on each command, simply prefix a command with a question mark, such as
?GetModes
For more details, click the '>>' hyperlink that appears. The documentation window that pops up also allows you to find the tutorial notebooks, on quantum mechanics and quasinormal mode calculations.
To uninstall, simply run the command
PacletUninstall["SpectralBP"]
To upgrade, Mathematica always uses the latest version of a package, so it is always safe to install a newer version over an older one.
To list all installed versions, simply evaluate
PacletFind["SpectralBP"]
Sean Julian Fortuna
SpectralBP is covered by the MIT License. For details, see LICENSE.md.