Primitive Functions¶
MARPLE implements 40+ primitive functions. Each has a monadic form (one argument) and/or a dyadic form (two arguments). All scalar functions are pervasive (element-wise with scalar extension).
- Arithmetic —
+ - × ÷ ⌈ ⌊ * ⍟ | ! ○ - Comparison —
< ≤ = ≥ > ≠ - Boolean —
∧ ∨ ⍲ ⍱ ~ - Structural —
⍴ ⍳ , ⌽ ⊖ ⍉ ↑ ↓ ∈ ⍋ ⍒ - Mixed —
⊤ ⊥ ⌹ ⍎ ⍕ ⌷ - Scalar Extension — how scalar functions handle mismatched ranks