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:
Bt-2 3 6' :I. a 3 14. 5 0
B
I. 2 3
4 5 6
I. 2 0
:I. 2 0
3 I H
El
The * Function: Exponential, Power
Monadic (One-Argument) Form: Exponential *B
The exponential function result is the Naperian base e (2.718281 828459045) raised
to the power indicated by the argument. The argument can be a numeric scalar,
vector, or other array. The shape of the result is the same as that of the argument:
If the argument is an array, the function is extended to each element of the array:
B+*2 2 p 0 1. 2 3
B
0 :I.
2 3
* B
1. 2 I71.83
7 I 3t3Y :I. 20,086
Dyadic (Two-Argument) Form: Power A* B
Thepower function result is argument A raised to the power indicated by
argument B. The arguments can be
numeric 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:
2w3
"* ,5*2
3x0
7**5
2* -3
43
Or25
1
3
0 I I.:?::... 2*3= = 1/8= .I25
i
same as that of the other argument. The single element is applied to every element
of the multielement array:
Bt-2 3 6' :I. a 3 14. 5 0
B
I. 2 3
4 5 6
I. 2 0
:I. 2 0
3 I H
El
The * Function: Exponential, Power
Monadic (One-Argument) Form: Exponential *B
The exponential function result is the Naperian base e (2.718281 828459045) raised
to the power indicated by the argument. The argument can be a numeric scalar,
vector, or other array. The shape of the result is the same as that of the argument:
If the argument is an array, the function is extended to each element of the array:
B+*2 2 p 0 1. 2 3
B
0 :I.
2 3
* B
1. 2 I71.83
7 I 3t3Y :I. 20,086
Dyadic (Two-Argument) Form: Power A* B
Thepower function result is argument A raised to the power indicated by
argument B. The arguments can be
numeric 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:
2w3
"* ,5*2
3x0
7**5
2* -3
43
Or25
1
3
0 I I.:?::... 2*3= = 1/8= .I25
i