List of mathematical $functions: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<div class="showVisit"> | <div class="showVisit"> | ||
As of Model 204 7.5, | As of Model 204 7.5, a set of high-performance, high-precision versions of the IBM mathematical $functions are built in to SOUL. These $functions, shown in the [[#funTable|table below, eliminate the need to use external math libraries. | ||
<p>Your site could choose to use an external library instead of these integrated $functions. In such a case, these $functions would result in calls to the external library. To set up use of an external math library, [[Contacting_Rocket_Software_Technical_Support|contact Technical Support]].</p> | <p>Your site could choose to use an external library instead of these integrated $functions. In such a case, these $functions would result in calls to the external library. To set up use of an external math library, [[Contacting_Rocket_Software_Technical_Support|contact Technical Support]].</p> | ||
Before Model 204 7.5, these $functions were available as part of the <var class="product">Sirius Mods</var>. | Before Model 204 7.5, these $functions were available as part of the <var class="product">Sirius Mods</var>. | ||
See [[Notation conventions for methods]] for information | See [[Notation conventions for methods]] for information | ||
about the conventions followed in the | about the conventions followed in the $function descriptions. | ||
<div id="mathFunConsid"></div> | |||
<h2>Mathematical $function considerations</h2> | |||
<!--Caution: <div> above .. even worse, referenced from m204int: http://m204int.rocketsoftware.com/index.php/Model_204_7.5_installation_design#--> | |||
<ul> | |||
<li> | |||
</ul> | |||
<table class="wikitable"> | <table class="wikitable"> | ||
<tr class="head"><th>$Function</th><th>Description</th></tr> | <tr class="head"><th>$Function</th><th>Description</th></tr> | ||
Revision as of 22:13, 21 August 2014
As of Model 204 7.5, a set of high-performance, high-precision versions of the IBM mathematical $functions are built in to SOUL. These $functions, shown in the [[#funTable|table below, eliminate the need to use external math libraries.
Your site could choose to use an external library instead of these integrated $functions. In such a case, these $functions would result in calls to the external library. To set up use of an external math library, contact Technical Support.
Before Model 204 7.5, these $functions were available as part of the Sirius Mods.
See Notation conventions for methods for information about the conventions followed in the $function descriptions.
Mathematical $function considerations
| $Function | Description |
|---|---|
| $Abs(x) | Absolute value |
| $ArcCos(x) | Inverse cosine |
| $ArcSin(x) | Inverse sine |
| $ArcTan(x) | Arctangent |
| $ArcTan2(x,y) | Arctangent of x/y |
| $Cos(x) | Cosine of radian argument |
| $CosH(x) | Hyperbolic cosine |
| $Cotan(x) | Cotangent |
| $Erf(x) | Error function |
| $ErfC(x) | Complement error function |
| $Exp(x), $Exp_e(x) | Get natural exponent of a number |
| $Exp2(x), $Exp_2(x) | Get 2's exponent of a number |
| $Exp10(x), $Exp_10(x) | Get 10's exponent of a number |
| $Gamma(x) | Gamma function |
| $IxpI(x,y) | Integer base, integer exponent |
| $LGamma(x) | Log gamma function |
| $Log(x), $Log_e(x) | Get natural log of a number |
| $Log2(x), $Log_2(x) | Get log base 2 of a number |
| $Log10(x), $Log_10(x) | Get log base 10 of a number |
| $Max(x1,x2,x3,x4,x5,x6,x7,x8) | Return maximum of specified arguments |
| $Min(x1,x2,x3,x4,x5,x6,x7,x8) | Return minimum of specified arguments |
| $Pi | Value of pi |
| $RxpI(x,y) | Real base, integer exponent |
| $RxpR(x,y) | Real base, real exponent |
| $Sin(x) | Sine of radian argument |
| $SinH(x) | Hyperbolic sine |
| $Sqrt(x) | Square root of positive argument |
| $Tan(x) | Tangent |
| $TanH(x) | Hyperbolic tangent |