Download Print this page

Sharp PC-1500 Applications Manual page 39

Hide thumbs Also See for PC-1500:

Advertisement

All
and more about Sharp
PC-1
500
at
http://www.PC-1500.info
SHARP
PROGRAM
T
I
TL
E
[ Outline
I
MATR IX
PRODUCT
PROGRAM
NO.
PS-
A-
12
CE.-150
required
With
this
program,
you
can determine
matrix
product
C
of m.1!
type
matrix A
and
2n
type
matrix
B.
[ Operating
Guide
I
Input:
I.
Inputs
of No. of rows m and
No.
of columns
.I!
for mat rix
A. Key-in
the
element
s of matrix
A.
2.
Input of No. of
columns n
in for matrix
B.
Key-in
the
elements
of
matrix
B.
The
limits
of
Q,
m and
n
are
.l!(m+n)
;S.
170.
Output:
The
outputs of
elements
of
product
matrix
C.
[
Example
I
m.I!
type
matrix A
.l!n
type
matrix
B
Product (mn type matrix C)
r
-
-l
]
4
0
-
1
[-I
-
3
3
7
-
6
-
9
2
s
I
=
5
-
1
3
L
-
[
Contents
I
(Formulas)
The
following
calculation
is
carried
out.
'
Cii
=
L
tli4·bt,
,_
,
(
i
=
!
,2
,·····•m)
J=
I
,
2 , ·····
n
r
-
,.....
-
b"
b1r
··
b1r1
a11
a
11···
a1.
1
a,,
a,, ... a,,,
b,,
bn···b1n
"'
.
.
.
.
.
a .. ,
L.
e
"
Do
not sale this PDF !!!
-
33
-
r
-
5
-
8
16
-
5
...,
2
-
37
4
43
....
-
r
C
II
c
1r··
c
1•1
C
?I
C
n···
C
:in
=
.
.
.
C
m
1
C
m
,···C
mn
L.
.,
-
1

Advertisement

loading