902 Appendix A: Functions and Instructions

ù(multiply) pkey

expression1
ù
expression2
expression
Returns the product of
expression1
and
expression2
.
2ù3.45 ¸ 6.9
xùyùx ¸ x
2øy
list1
ù
list2
list
Returns a list containing the products of the
corresponding elements in
list1
and
list2
.
Dimensions of the lists must be equal.
{1.0,2,3}ù{4,5,6} ¸ {4. 10 18}
{2àa,3à2}ù{añ,bà3} ¸ {2øa b
2}
matrix1
ù
matrix2
matrix
Returns the matrix product of
matrix1
and
matrix2
.
The number of rows in
matrix1
must equal the
number of columns in
matrix2
.
[1,2,3;4,5,6]ù[a,d;b,e;c,f] ¸
expression
ù
list1
list
list1
ù
expression
list
Returns a list containing the products of
expression
and each element in
list1
.
pù{4,5,6} ¸ {4øp 5øp 6øp}
expression
ù
matrix1
matrix
matrix1
ù
expression
matrix
Returns a matrix containing the products of
expression
and each element in
matrix1
.
Note: Use .ù(dot multiply) to multiply an
expression by each element.
[1,2;3,4]ù.01 ¸ [.01 .02
.03 .04]
lùidentity(3) ¸
l 0 0
0 l 0
0 0 l
ààà
à (divide) ekey
expression1
à
expression2
expression
Returns the quotient of
expression1
divided by
expression2
.
2/3.45 ¸ .57971
x^3/x ¸ x
2
list1
à
list2
list
Returns a list containing the quotients of
list1
divided by
list2.
Dimensions of the lists must be equal.
{1.0,2,3}/{4,5,6} ¸
{.25 2/5 1/2}
expression
à
list1
list
list1
à
expression
list
Returns a list containing the quotients of
expression
divided by
list1
or
list1
divided by
expression.
a/{3,a,(a)} ¸
a
3 1 a
{a,b,c}/(aùbùc) ¸
{1
bøc 1
aøc 1
aøb}
matrix1
à
expression
matrix
Returns a matrix containing the quotients of
matrix1
à
expression.
Note: Use . / (dot divide) to divide an expression
by each element.
[a,b,c]/(aùbùc) ¸
[1
bøc 1
aøc 1
aøb]