contrib
contact
clib
rank.c
Go to the documentation of this file.
1
#include "
arith.h
"
2
3
int
rank
(
n
,p,
s
)
4
int
n
,p;
5
MATRIX
s
;
6
{
7
int
i,full,
rank
,
min0
();
8
9
full=
min0
(2,
n
,p);
10
rank
=0;
11
12
for
(i=0; i<full; i++){
13
if
(
s
[i][i]<
NSPACE
)
14
break
;
15
else
16
rank
+= 1;
17
}
18
19
return
(
rank
);
20
}
21
rank
int rank(int n, int p, MATRIX s)
Definition:
rank.c:3
NSPACE
#define NSPACE
Definition:
arith.h:17
s
short s
Definition:
structsize.c:2
arith.h
min0
int min0(va_alist)
Definition:
min0.c:7
MATRIX
VECTOR MATRIX[MAX]
Definition:
arith.h:27
n
GLfloat n[6][3]
Definition:
cube.c:15
euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Jun 15 2023 02:06:43