Math library for InterSystems ObjectScript. This library contains functions that are both standard to ObjectScript as well as functions that are not. For example TODO.
Once this library is installed, functions can be called two ways:
For installation guidance, follow the steps below.
If you would like to contribute, please follow the listed guidelines.
To report a bug or request an enhancement, please use the Issues feature.
If ZPM is not installed, see ZPM Open Exchange App for instructions.
Once Installed, enter the "zpm" command to enter the zpm shell:
SAMPLES>zpm zpm: SAMPLES>
Once inside zpm, run "install objectscript-math" to install the package:
zpm: SAMPLES>install objectscript-math [objectscript-math] Reload START [objectscript-math] Reload SUCCESS [objectscript-math] Module object refreshed. [objectscript-math] Validate START [objectscript-math] Validate SUCCESS [objectscript-math] Compile START [objectscript-math] Compile SUCCESS [objectscript-math] Activate START [objectscript-math] Configure START [objectscript-math] Configure SUCCESS [objectscript-math] Activate SUCCESS
If ZPM is not installed and you do not plan on installing it, you can still quickly install this library.
If you plan on contributing, simply clone this Repository and load the files
If you would just like to use this library, please follow these steps:
Set path="COPIED PATH FROM STEP 2" Do $system.OBJ.Load(path,"ck")
This will load Math.Math.cls, Math.Utils.cls, and Math.inc
Please see the Contributing Guide
Update for zpm
New functions added