Operators: Difference between revisions

From NARS2000
Jump to navigationJump to search
No edit summary
(add cat)
Line 41: Line 41:
Where <apll>f</apll> and <apll>g</apll> represent functions and <apll>v</apll> and <apll>w</apll> represent variables.
Where <apll>f</apll> and <apll>g</apll> represent functions and <apll>v</apll> and <apll>w</apll> represent variables.


{{Article footer}}
{{Article footer|0|NO}}


{{stub}}
{{stub}}
[[Category:Definitions]]
[[Category:Examples]][[Category:Definitions]]

Revision as of 10:39, 16 October 2019

Operators are symbols used to perform an action based on the operands (functions, variables, or jots) to its left (monadic operator) or left and right (dyadic operator), along with the zero, one, or two arguments to the derived function from the operator. That is, the derived function may be niladic (no arguments), monadic (right argument only), or dyadic (left and right arguments). For example, is a monadic operator (a single operand on its left, e.g. f⍨), and the derived function from this operator is ambivalent (that is, may be called with a right argument only as in f⍨ R or both left and right arguments, as in L f⍨ R).


The list of monadic operators is as follows:

/ Reduction f/ R L f/ R
\ Scan f\ R L f\ R
¨ Each f¨ R L f¨ R
Duplicate/Commute f⍨ R L f⍨ R
Multisets f⍦ R L f⍦ R
Combinatorial v‼ R
Null f⊙ R L f⊙ R


The list of dyadic operators is as follows:

Rank f⍤w R L f⍤w R
Convolution L f⍡g R
Composition L f⍥g R
. Determinant
Inner Product
Outer product
f.g R



L f.g R
L ∘.g R
Compose f∘g R
f∘w R
v∘g R
L f∘g R
Variant f⍠w R L f⍠w R

Where f and g represent functions and v and w represent variables.


See Also
System Commands System Variables and Functions Operators


Keyboard
Alt+Shift
Alt ¨ ¯ < > × ÷
Shift ~ ! @ # $ % ^ & * ( ) _ +
Key ` 1 2 3 4 5 6 7 8 9 0 - =
Alt+Shift
Alt ? § π
Shift Q W E R T Y U I O P { } |
Key q w e r t y u i o p [ ] \
Alt+Shift
Alt
Shift A S D F G H J K L : "
Key a s d f g h j k l ; '
Alt+Shift χ
Alt
Shift Z X C V B N M < > ?
Key z x c v b n m , . /
NARS 2000 Lang
Tool
Bar
+ - × ÷ * ! ? |
< = >
~ § π .. ,
/ \ ¨ .
_ ¯
Second Row i j k i j k l g p r v x





This NARS2000 article is a stub and needs further work.