/arith.h
Go to the documentation of this file.
1 /* */
2 /* Arithmetic Calculation Header */
3 /* */
4 /* Ver.1.0, Apr. 5,1988. for ssvdc() */
5 /* Ver.1.1, Jul.16,1988. for cone() */
6 /* Ver.1.2, Jul.22,1988. for cone() with face pointer */
7 
8 #include <stdio.h>
9 #include <math.h>
10 #include <varargs.h>
11 
12 #define MAX 50
13 #define MAXRANK 6
14 #define MAXEDGE 2000
15 #define EPS 1.0e-4
16 /* NSPACE is used for the threshold under which the singular value is zero. */
17 #define NSPACE 1.0e-4
18 #define UNIT 1.0e-4
19 #define EPS2 1.0e-4
20 #define TRUE 1
21 #define FALSE 0
22 #define EMPTY -1
23 #define COLLISION -2
24 #define HASHNO 15625
25 
26 typedef double REAL;
27 typedef REAL VECTOR[MAX];
28 typedef VECTOR MATRIX[MAX];
29 
30 typedef int TABLE[HASHNO];
31 
32 typedef int LOGICAL;
33 
34 typedef struct line {
35  int index;
36  int next;
37  int last;
38  int face[MAXRANK];
39  unsigned int plane;
40  REAL s[MAXRANK];
41 } LINE;
42 
43 
44 
45 
46 
#define MAX
Definition: /arith.h:12
#define MAXRANK
Definition: /arith.h:13
int TABLE[HASHNO]
Definition: /arith.h:30
int LOGICAL
Definition: /arith.h:32
unsigned int plane
Definition: arith.h:38
double REAL
Definition: arith.h:25
struct line LINE
REAL VECTOR[MAX]
Definition: /arith.h:27
int index
Definition: arith.h:34
int face[MAXRANK]
Definition: arith.h:37
#define HASHNO
Definition: /arith.h:24
Definition: arith.h:33
int last
Definition: arith.h:36
REAL s[MAXRANK]
Definition: arith.h:39
int next
Definition: arith.h:35
VECTOR MATRIX[MAX]
Definition: /arith.h:28
double REAL
Definition: /arith.h:26


euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Jun 6 2019 20:00:43