File: saml-mtypes.h

package info (click to toggle)
saml 970418-9
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,188 kB
  • ctags: 1,703
  • sloc: ansic: 17,186; sh: 2,573; yacc: 497; perl: 264; makefile: 242; python: 242
file content (30 lines) | stat: -rw-r--r-- 1,023 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Copyright 1996 Thierry Bousch
 * Licensed under the Gnu Public License, Version 2
 *
 * $Id: saml-mtypes.h,v 1.1 1996/08/18 07:32:52 bousch Exp $
 *
 * Simple math types commonly used
 */

#ifndef _SAML_MATH_TYPES_H
#define _SAML_MATH_TYPES_H

#define ST_VOID		0	/* Void */
#define ST_LITERAL	1	/* A literal (string) */
#define ST_MINT		3	/* Machine integer (int) */
#define ST_INTEGER	4	/* Arbitrary big integer */
#define ST_CYCLIC	5	/* Elements of Z/nZ */
#define ST_FLOAT	6	/* Multi-precision reals */
#define ST_RATIONAL	7	/* Rational (on a ring) */
#define ST_COMPLEX	8	/* Complex number */
#define ST_ALGEXT	9	/* Algebraic extensions */
#define ST_MONO		12	/* Sparse monomial */
#define ST_POLY		13	/* Sparse polynomial */
#define ST_APOLY	10	/* Another implementation of polynomials */
#define ST_UPOLY	14	/* Dense univariate polynomial */
#define ST_LINE		15	/* Matrix line */
#define ST_MATRIX	16	/* Rectangular matrix */
#define ST_TENSOR	17	/* Dense tensor (on a ring) */

#endif	/* _SAML_MATH_TYPES_H */