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 TRUE 1
20 #define FALSE 0
21 #define EMPTY -1
22 #define COLLISION -2
23 #define HASHNO 15625
24 
25 typedef double REAL;
26 typedef REAL VECTOR[MAX];
27 typedef VECTOR MATRIX[MAX];
28 
29 typedef int TABLE[HASHNO];
30 
31 typedef int LOGICAL;
32 
33 typedef struct line {
34  int index;
35  int next;
36  int last;
37  int face[MAXRANK];
38  unsigned int plane;
40 } LINE;
41 
42 
43 
44 
45 
REAL VECTOR[MAX]
Definition: arith.h:26
struct line LINE
unsigned int plane
Definition: arith.h:38
double REAL
Definition: arith.h:25
#define MAX
Definition: arith.h:12
int index
Definition: arith.h:34
int face[MAXRANK]
Definition: arith.h:37
Definition: arith.h:33
int LOGICAL
Definition: arith.h:31
int last
Definition: arith.h:36
int TABLE[HASHNO]
Definition: arith.h:29
#define MAXRANK
Definition: arith.h:13
REAL s[MAXRANK]
Definition: arith.h:39
#define HASHNO
Definition: arith.h:23
VECTOR MATRIX[MAX]
Definition: arith.h:27
int next
Definition: arith.h:35


euslisp
Author(s): Toshihiro Matsui
autogenerated on Fri Feb 21 2020 03:20:54