A Programming Language: Difference between revisions
Jump to navigation
Jump to search
m (Small integral sign) |
(→Notation: Iota -> Interval) |
||
Line 17: | Line 17: | ||
* The functions [[Absolute Value]], [[Ceiling]], and [[Floor]] use paired symbols (<math>|a|</math>, <math>\lceil a\rceil</math>, and <math>\lfloor a\rfloor</math>). The paired symbols for ceiling and floor were adopted by mathematicians (absolute value was already in use), but APL implementations dropped the closing symbol for consistency with monadic function syntax. | * The functions [[Absolute Value]], [[Ceiling]], and [[Floor]] use paired symbols (<math>|a|</math>, <math>\lceil a\rceil</math>, and <math>\lfloor a\rfloor</math>). The paired symbols for ceiling and floor were adopted by mathematicians (absolute value was already in use), but APL implementations dropped the closing symbol for consistency with monadic function syntax. | ||
* [[Residue]] uses <math>|</math> as in APL, but allows a subscript to indicate the smallest value allowed—mirroring [[index origin]]. | * [[Residue]] uses <math>|</math> as in APL, but allows a subscript to indicate the smallest value allowed—mirroring [[index origin]]. | ||
* [[ | * [[Interval]] (renamed "Index Generator" in [[APL\360]]) uses the letter <math>\iota</math> with an optional [[index origin]] subscript. | ||
* [[Index-Of]] is also written with <math>\iota</math> and an [[index origin]] subscript. It is defined on vector left arguments and vector or scalar right arguments. | * [[Index-Of]] is also written with <math>\iota</math> and an [[index origin]] subscript. It is defined on vector left arguments and vector or scalar right arguments. | ||
* [[Membership]] is <math>\epsilon</math> as in APL. | * [[Membership]] is <math>\epsilon</math> as in APL. |