Type: | Command |
|
|
|
|
| |
Description: | Normal Distribution Command: Returns the normal probability distribution (bell curve) at x | ||||||
| based on the mean m and variance v of the normal distribution. |
|
| ||||
| NDIST is calculated using this formula: |
|
|
|
|
| |
|
|
|
| (x – m)2 |
|
| |
|
|
|
|
|
| ||
|
| ndist(m, v, x) = | e | 2v |
|
| |
|
|
|
| ||||
|
|
|
| 2 | πv |
|
|
Access: | !´LPROBABILITY LNDIST | ( ´is the | |||||
Input/Output: |
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
| Level 3/Argument 1 Level 2/Argument 2 | Level 1/Argument 3 |
| Level 1/Item 1 | ||
|
|
|
|
|
|
|
|
|
| m | v |
| x | → | ndist(m, v, x) |
See also: | UTPN |
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
Type: | RPL command |
|
|
|
| |
Description: | Duplicates an object n times, and returns n. |
|
|
| ||
Access: | !°STACK !«NDUPN ( °is the |
| ||||
| ISTACK !«NDUPN |
|
|
|
| |
Input/Output: |
|
|
|
|
|
|
|
| Level 2 | Level 1 |
| Leveln+1 … Level2 | Level1 |
|
|
|
|
|
|
|
|
| obj | n | → | obj … obj | n |
|
|
|
| |||
Example: | To make a list of 100 “X”s, run "X" 100 NDUPN →LIST. |
| ||||
See also: | DUP, DUPDUP, DUPN, DUP2 |
|
|
|
| |
|
|
|
|
|
|
|
NEG | Analytic function |
|
|
|
| |
Type: |
|
|
|
| ||
Description: | Negate Analytic Function: Changes the sign or negates an object. |
|
Negating an array creates a new array containing the negative of each of the original elements. Negating a binary number takes its two’s complement (complements each bit and adds 1).
Negating a graphics object “inverts” it (toggles each pixel from on to off, or
Access: …ßNEG | ( ßis the |
!´LCOMPLEX LNEG | ( ´is the |
W
Flags: Numerical Results
Input/Output:
Level 1/Argument 1 |
| Level 1/Item 1 |
|
|
|
z | → | |
#n1 | → | #n2 |
[ array ] | → | [ |
'symb' | → | |
x_unit | → | |
grob1 | → | grob2 |
PICT1 | → | PICT2 |
|
|
|