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_mult2.c
Go to the documentation of this file.
1
/* */
2
/* Matrix Multiplication with an entory point */
3
/* */
4
/* Ver.1.0, Jun,30,1988. */
5
/* */
6
7
#include "
arith.h
"
8
9
mat_mult2
(
n
,m,
l
,amat,ai,aj,bmat,bi,bj,pmat)
10
int
n
,m,
l
,ai,aj,bi,bj;
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;
18
for
(j=0; j<m; j++){
19
pmat[i][k] += amat[ai+i][aj+j] * bmat[bi+j][bj+k];
20
}
21
}
22
}
23
}
arith.h
n
GLfloat n[6][3]
Definition:
cube.c:15
l
long l
Definition:
structsize.c:3
mat_mult2
mat_mult2(int n, int m, int l, MATRIX amat, int ai, int aj, MATRIX bmat, int bi, int bj, MATRIX pmat)
Definition:
mat_mult2.c:9
MATRIX
VECTOR MATRIX[MAX]
Definition:
arith.h:27
euslisp
Author(s): Toshihiro Matsui
autogenerated on Mon Feb 28 2022 22:18:27