The A Function: And
CD
Monadic (One-Argument) Form
There
is
no monadic form.
Dyadic (Two-Argument) Form: And A/\ B
The
and function result
is
1 when A and B are
both
1; otherwise,
the
result
is
O.
The
value
of
the
arguments must be either 0
or
1.
The
arguments can be scalars, vectors,
or
other
arrays.
The
arguments must be
the
same shape unless one
of
the
arguments
is
a scalar
or
any
single-element array. Arguments
of
the
same shape have
the
same
shape result:
01\
:1.
And Table
0
:1.1\:1.
Operator
:1.
- Argument A
1AO
0
0
0
:1.
:tAO
1.
0
:I.
()
0
()
:I.
o
'---
Argument B
If
one
argument
is
a scalar
or
a single-element array,
the
shape
of
the
result
is
the
same as
that
of
the
other
argument. The single element
is
applied
to
every element
of
the
multielement array:
Bf·2
2pO
1-
1 0
B
0
:1.
:I.
0
j.AB
0
:J.
:1.
0