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