Main Page
+
Namespaces
Namespace List
+
Namespace Members
All
Functions
Variables
+
Classes
Class List
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Typedefs
_
b
c
e
l
m
n
p
r
s
t
v
w
Enumerations
+
Enumerator
a
b
c
d
e
i
l
m
n
o
p
r
t
w
x
y
z
+
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
contrib
contact
clib
mat_mult.c
Go to the documentation of this file.
1
/* */
2
/* Matrix Multiplication */
3
/* */
4
/* Ver.1.0, Jan.18,1988. */
5
/* */
6
7
#include "
arith.h
"
8
9
mat_mult
(
n
,m,
l
,amat,bmat,pmat)
10
int
n
,m,
l
;
11
MATRIX
amat,bmat,pmat;
12
{
13
int
i,j,k;
14
15
for
(i=0; i<
n
; i++){
16
for
(k=0; k<
l
; k++){
17
pmat[i][k]=0.0e0;
18
for
(j=0; j<m; j++){
19
pmat[i][k] += amat[i][j] * bmat[j][k];
20
}
21
}
22
}
23
}
arith.h
n
GLfloat n[6][3]
Definition:
cube.c:15
mat_mult
mat_mult(int n, int m, int l, MATRIX amat, MATRIX bmat, MATRIX pmat)
Definition:
mat_mult.c:9
l
long l
Definition:
structsize.c:3
MATRIX
VECTOR MATRIX[MAX]
Definition:
arith.h:27
euslisp
Author(s): Toshihiro Matsui
autogenerated on Mon Feb 28 2022 22:18:27