Matrix multiplication: Difference between revisions
Content added Content deleted
m (→{{header|J}}: lang tags, use mp instead of x to prevent confusion with x used as argument later) |
m (→{{header|J}}: remove tags inside lang tags) |
||
Line 624: | Line 624: | ||
The notation is for a generalized inner product so that |
The notation is for a generalized inner product so that |
||
<lang j> |
<lang j> |
||
x ~:/ .*. y NB. boolean inner product ( |
x ~:/ .*. y NB. boolean inner product ( ~: is "not equal" (exclusive or) and *. is "and") |
||
x *./ .= y NB. which rows of x are the same as vector y? |
x *./ .= y NB. which rows of x are the same as vector y? |
||
x + / .= y NB. number of places where each row of x equals vector y |
x + / .= y NB. number of places where each row of x equals vector y |