Debian Codegraph @

external/glpk/glplib.h

raw symbols SCIP
1 /* glplib.h (miscellaneous library routines) */cxx . . $ `<file>/external/glpk/glplib.h`/
2
3 /***********************************************************************
4 * This code is part of GLPK (GNU Linear Programming Kit).
5 *
6 * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
7 * 2009, 2010 Andrew Makhorin, Department for Applied Informatics,
8 * Moscow Aviation Institute, Moscow, Russia. All rights reserved.
9 * E-mail: <[email protected]>.
10 *
11 * GLPK is free software: you can redistribute it and/or modify it
12 * under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * GLPK is distributed in the hope that it will be useful, but WITHOUT
17 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
18 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
19 * License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with GLPK. If not, see <http://www.gnu.org/licenses/>.
23 ***********************************************************************/
24
25 #ifndef GLPLIB_H
26 #define GLPLIB_Hcxx . . $ `external/glpk/glplib.h:26:9`!
27
28 #define bigmulcxx . . $ `external/glpk/glplib.h:28:9`! _glp_lib_bigmul
29 void bigmulcxx . . $ `external/glpk/glplib.h:28:9`!(int n, int m, unsigned short x[], unsigned short y[]);
30 /* multiply unsigned integer numbers of arbitrary precision */
31
32 #define bigdivcxx . . $ `external/glpk/glplib.h:32:9`! _glp_lib_bigdiv
33 void bigdivcxx . . $ `external/glpk/glplib.h:32:9`!(int n, int m, unsigned short x[], unsigned short y[]);
34 /* divide unsigned integer numbers of arbitrary precision */
35
36 #ifndef GLP_LONG_DEFINED
37 #define GLP_LONG_DEFINEDcxx . . $ `external/glpk/glplib.h:37:9`!
38 typedef structcxx . . $ $anonymous_type_dbd6ff83788f0e73_0# { int locxx . . $ $anonymous_type_dbd6ff83788f0e73_0#lo., hicxx . . $ $anonymous_type_dbd6ff83788f0e73_0#hi.; } glp_longcxx . . $ glp_long#;
39 /* long integer data type */
40 #endif
41
42 typedef structcxx . . $ $anonymous_type_dbd6ff83788f0e73_1# { glp_longcxx . . $ glp_long# quotcxx . . $ $anonymous_type_dbd6ff83788f0e73_1#quot., remcxx . . $ $anonymous_type_dbd6ff83788f0e73_1#rem.; } glp_ldivcxx . . $ glp_ldiv#;
43 /* result of long integer division */
44
45 #define xlsetcxx . . $ `external/glpk/glplib.h:45:9`! _glp_lib_xlset
46 glp_longcxx . . $ glp_long# xlsetcxx . . $ `external/glpk/glplib.h:45:9`!(int x);
47 /* expand integer to long integer */
48
49 #define xlnegcxx . . $ `external/glpk/glplib.h:49:9`! _glp_lib_xlneg
50 glp_longcxx . . $ glp_long# xlnegcxx . . $ `external/glpk/glplib.h:49:9`!(glp_longcxx . . $ glp_long# x);
51 /* negate long integer */
52
53 #define xladdcxx . . $ `external/glpk/glplib.h:53:9`! _glp_lib_xladd
54 glp_longcxx . . $ glp_long# xladdcxx . . $ `external/glpk/glplib.h:53:9`!(glp_longcxx . . $ glp_long# x, glp_longcxx . . $ glp_long# y);
55 /* add long integers */
56
57 #define xlsubcxx . . $ `external/glpk/glplib.h:57:9`! _glp_lib_xlsub
58 glp_longcxx . . $ glp_long# xlsubcxx . . $ `external/glpk/glplib.h:57:9`!(glp_longcxx . . $ glp_long# x, glp_longcxx . . $ glp_long# y);
59 /* subtract long integers */
60
61 #define xlcmpcxx . . $ `external/glpk/glplib.h:61:9`! _glp_lib_xlcmp
62 int xlcmpcxx . . $ `external/glpk/glplib.h:61:9`!(glp_longcxx . . $ glp_long# x, glp_longcxx . . $ glp_long# y);
63 /* compare long integers */
64
65 #define xlmulcxx . . $ `external/glpk/glplib.h:65:9`! _glp_lib_xlmul
66 glp_longcxx . . $ glp_long# xlmulcxx . . $ `external/glpk/glplib.h:65:9`!(glp_longcxx . . $ glp_long# x, glp_longcxx . . $ glp_long# y);
67 /* multiply long integers */
68
69 #define xldivcxx . . $ `external/glpk/glplib.h:69:9`! _glp_lib_xldiv
70 glp_ldivcxx . . $ glp_ldiv# xldivcxx . . $ `external/glpk/glplib.h:69:9`!(glp_longcxx . . $ glp_long# x, glp_longcxx . . $ glp_long# y);
71 /* divide long integers */
72
73 #define xltodcxx . . $ `external/glpk/glplib.h:73:9`! _glp_lib_xltod
74 double xltodcxx . . $ `external/glpk/glplib.h:73:9`!(glp_longcxx . . $ glp_long# x);
75 /* convert long integer to double */
76
77 #define xltoacxx . . $ `external/glpk/glplib.h:77:9`! _glp_lib_xltoa
78 char *xltoacxx . . $ `external/glpk/glplib.h:77:9`!(glp_longcxx . . $ glp_long# x, char *s);
79 /* convert long integer to character string */
80
81 #define str2intcxx . . $ `external/glpk/glplib.h:81:9`! _glp_lib_str2int
82 int str2intcxx . . $ `external/glpk/glplib.h:81:9`!(const char *str, int *val);
83 /* convert character string to value of int type */
84
85 #define str2numcxx . . $ `external/glpk/glplib.h:85:9`! _glp_lib_str2num
86 int str2numcxx . . $ `external/glpk/glplib.h:85:9`!(const char *str, double *val);
87 /* convert character string to value of double type */
88
89 #define strspxcxx . . $ `external/glpk/glplib.h:89:9`! _glp_lib_strspx
90 char *strspxcxx . . $ `external/glpk/glplib.h:89:9`!(char *str);
91 /* remove all spaces from character string */
92
93 #define strtrimcxx . . $ `external/glpk/glplib.h:93:9`! _glp_lib_strtrim
94 char *strtrimcxx . . $ `external/glpk/glplib.h:93:9`!(char *str);
95 /* remove trailing spaces from character string */
96
97 #define strrevcxx . . $ `external/glpk/glplib.h:97:9`! _glp_lib_strrev
98 char *strrevcxx . . $ `external/glpk/glplib.h:97:9`!(char *s);
99 /* reverse character string */
100
101 #define gcdcxx . . $ `external/glpk/glplib.h:101:9`! _glp_lib_gcd
102 int gcdcxx . . $ `external/glpk/glplib.h:101:9`!(int x, int y);
103 /* find greatest common divisor of two integers */
104
105 #define gcdncxx . . $ `external/glpk/glplib.h:105:9`! _glp_lib_gcdn
106 int gcdncxx . . $ `external/glpk/glplib.h:105:9`!(int n, int x[]);
107 /* find greatest common divisor of n integers */
108
109 #define lcmcxx . . $ `external/glpk/glplib.h:109:9`! _glp_lib_lcm
110 int lcmcxx . . $ `external/glpk/glplib.h:109:9`!(int x, int y);
111 /* find least common multiple of two integers */
112
113 #define lcmncxx . . $ `external/glpk/glplib.h:113:9`! _glp_lib_lcmn
114 int lcmncxx . . $ `external/glpk/glplib.h:113:9`!(int n, int x[]);
115 /* find least common multiple of n integers */
116
117 #define round2ncxx . . $ `external/glpk/glplib.h:117:9`! _glp_lib_round2n
118 double round2ncxx . . $ `external/glpk/glplib.h:117:9`!(double x);
119 /* round floating-point number to nearest power of two */
120
121 #define fp2ratcxx . . $ `external/glpk/glplib.h:121:9`! _glp_lib_fp2rat
122 int fp2ratcxx . . $ `external/glpk/glplib.h:121:9`!(double x, double eps, double *p, double *q);
123 /* convert floating-point number to rational number */
124
125 #define jdaycxx . . $ `external/glpk/glplib.h:125:9`! _glp_lib_jday
126 int jdaycxx . . $ `external/glpk/glplib.h:125:9`!(int d, int m, int y);
127 /* convert calendar date to Julian day number */
128
129 #define jdatecxx . . $ `external/glpk/glplib.h:129:9`! _glp_lib_jdate
130 int jdatecxx . . $ `external/glpk/glplib.h:129:9`!(int j, int *d, int *m, int *y);
131 /* convert Julian day number to calendar date */
132
133 #endif
134
135 /* eof */