+: y (Double)
Twice the numeric noun y.
+: 7 14
This following is an animation for the Double monadic verb that might be useful to those new to J
Common uses
Can lead to neater tacit expressions
13 : '2*y' 2 * ] 13 : '+:y' +:
See Also
Halve (-.)
Square Root (%:)
Square (*:)
Entry in the J Dictionary for +:
x +: y (Not-Or)
The logical operation Not-Or between two Boolean nouns x and y.
0 0 1 1 +: 0 1 0 1 1 0 0 0 (0 1) +:/ (0 1) NB. Truth-table of: +: 1 0 0 0 (0 1) +:table (0 1) NB. Truth-table with borders ┌──┬───┐ │+:│0 1│ ├──┼───┤ │0 │1 0│ │1 │0 0│ └──┴───┘
Note: Restricted to boolean arguments:
1 +: 2 |domain error | 1 +:2
The following is an animation that might be useful to those new to J
Common uses
See Also
GCD (Or) (+.)
LCM (And) (*.)
Not-And (*:)
Entry in the J Dictionary for +:
