1
|
1 // Builtin general function support. -*- C++ -*- |
|
2 /* |
|
3 |
383
|
4 Copyright (C) 1992, 1993, 1994 John W. Eaton |
1
|
5 |
|
6 This file is part of Octave. |
|
7 |
|
8 Octave is free software; you can redistribute it and/or modify it |
|
9 under the terms of the GNU General Public License as published by the |
|
10 Free Software Foundation; either version 2, or (at your option) any |
|
11 later version. |
|
12 |
|
13 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
16 for more details. |
|
17 |
|
18 You should have received a copy of the GNU General Public License |
|
19 along with Octave; see the file COPYING. If not, write to the Free |
|
20 Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
|
21 |
|
22 */ |
|
23 |
383
|
24 #if !defined (octave_g_builtins_h) |
|
25 #define octave_g_builtins_h 1 |
1
|
26 |
|
27 #include "tree-const.h" |
|
28 |
|
29 struct builtin_general_functions |
|
30 { |
|
31 char *name; |
|
32 int nargin_max; |
|
33 int nargout_max; |
|
34 General_fcn general_fcn; |
|
35 char *help_string; |
|
36 }; |
|
37 |
506
|
38 extern Octave_object builtin_all (const Octave_object& args, int nargout); |
|
39 |
|
40 extern Octave_object builtin_any (const Octave_object& args, int nargout); |
|
41 |
|
42 extern Octave_object builtin_balance (const Octave_object& args, int nargout); |
|
43 |
|
44 extern Octave_object builtin_chol (const Octave_object& args, int nargout); |
|
45 |
|
46 extern Octave_object builtin_clc (const Octave_object& args, int nargout); |
|
47 |
|
48 extern Octave_object builtin_clock (const Octave_object& args, int nargout); |
|
49 |
|
50 extern Octave_object builtin_closeplot (const Octave_object& args, |
|
51 int nargout); |
|
52 |
|
53 extern Octave_object builtin_colloc (const Octave_object& args, int nargout); |
|
54 |
|
55 extern Octave_object builtin_cumprod (const Octave_object& args, int nargout); |
|
56 |
|
57 extern Octave_object builtin_cumsum (const Octave_object& args, int nargout); |
|
58 |
|
59 extern Octave_object builtin_dassl (const Octave_object& args, int nargout); |
|
60 |
|
61 extern Octave_object builtin_dassl_options (const Octave_object& args, |
|
62 int nargout); |
|
63 |
|
64 extern Octave_object builtin_date (const Octave_object& args, int nargout); |
|
65 |
|
66 extern Octave_object builtin_det (const Octave_object& args, int nargout); |
|
67 |
|
68 extern Octave_object builtin_diag (const Octave_object& args, int nargout); |
|
69 |
|
70 extern Octave_object builtin_disp (const Octave_object& args, int nargout); |
|
71 |
|
72 extern Octave_object builtin_eig (const Octave_object& args, int nargout); |
|
73 |
|
74 extern Octave_object builtin_error (const Octave_object& args, int nargout); |
|
75 |
|
76 extern Octave_object builtin_eval (const Octave_object& args, int nargout); |
|
77 |
|
78 extern Octave_object builtin_exist (const Octave_object& args, int nargout); |
|
79 |
|
80 extern Octave_object builtin_expm (const Octave_object& args, int nargout); |
|
81 |
|
82 extern Octave_object builtin_eye (const Octave_object& args, int nargout); |
|
83 |
|
84 extern Octave_object builtin_fclose (const Octave_object& args, int nargout); |
|
85 |
|
86 extern Octave_object builtin_feof (const Octave_object& args, int nargout); |
|
87 |
|
88 extern Octave_object builtin_ferror (const Octave_object& args, int nargout); |
|
89 |
|
90 extern Octave_object builtin_feval (const Octave_object& args, int nargout); |
|
91 |
|
92 extern Octave_object builtin_fflush (const Octave_object& args, int nargout); |
|
93 |
|
94 extern Octave_object builtin_fft (const Octave_object& args, int nargout); |
|
95 |
|
96 extern Octave_object builtin_fgets (const Octave_object& args, int nargout); |
|
97 |
|
98 extern Octave_object builtin_find (const Octave_object& args, int nargout); |
|
99 |
|
100 extern Octave_object builtin_flops (const Octave_object& args, int nargout); |
|
101 |
|
102 extern Octave_object builtin_fopen (const Octave_object& args, int nargout); |
|
103 |
|
104 extern Octave_object builtin_fprintf (const Octave_object& args, int nargout); |
|
105 |
|
106 extern Octave_object builtin_fread (const Octave_object& args, int nargout); |
|
107 |
|
108 extern Octave_object builtin_frewind (const Octave_object& args, int nargout); |
|
109 |
|
110 extern Octave_object builtin_freport (const Octave_object& args, int nargout); |
|
111 |
|
112 extern Octave_object builtin_fscanf (const Octave_object& args, int nargout); |
|
113 |
|
114 extern Octave_object builtin_fseek (const Octave_object& args, int nargout); |
|
115 |
|
116 extern Octave_object builtin_fsolve (const Octave_object& args, int nargout); |
|
117 |
|
118 extern Octave_object builtin_fsolve_options (const Octave_object& args, |
|
119 int nargout); |
|
120 |
|
121 extern Octave_object builtin_fsqp (const Octave_object& args, int nargout); |
|
122 |
|
123 extern Octave_object builtin_fsqp_options (const Octave_object& args, |
|
124 int nargout); |
|
125 |
|
126 extern Octave_object builtin_ftell (const Octave_object& args, int nargout); |
|
127 |
|
128 extern Octave_object builtin_fwrite (const Octave_object& args, int nargout); |
|
129 |
|
130 extern Octave_object builtin_getenv (const Octave_object& args, int nargout); |
|
131 |
|
132 extern Octave_object builtin_givens (const Octave_object& args, int nargout); |
|
133 |
|
134 extern Octave_object builtin_hess (const Octave_object& args, int nargout); |
|
135 |
|
136 extern Octave_object builtin_input (const Octave_object& args, int nargout); |
|
137 |
|
138 extern Octave_object builtin_ifft (const Octave_object& args, int nargout); |
|
139 |
|
140 extern Octave_object builtin_inv (const Octave_object& args, int nargout); |
|
141 |
|
142 extern Octave_object builtin_is_global (const Octave_object& args, |
|
143 int nargout); |
|
144 |
|
145 extern Octave_object builtin_isstr (const Octave_object& args, int nargout); |
|
146 |
|
147 extern Octave_object builtin_kbhit (const Octave_object& args, int nargout); |
|
148 |
|
149 extern Octave_object builtin_keyboard (const Octave_object& args, int nargout); |
|
150 |
|
151 extern Octave_object builtin_logm (const Octave_object& args, int nargout); |
|
152 |
|
153 extern Octave_object builtin_lpsolve (const Octave_object& args, int nargout); |
|
154 |
|
155 extern Octave_object builtin_lpsolve_options (const Octave_object& args, |
|
156 int nargout); |
|
157 |
|
158 extern Octave_object builtin_lsode (const Octave_object& args, int nargout); |
|
159 |
|
160 extern Octave_object builtin_lsode_options (const Octave_object& args, |
|
161 int nargout); |
|
162 |
|
163 extern Octave_object builtin_lu (const Octave_object& args, int nargout); |
|
164 |
|
165 extern Octave_object builtin_max (const Octave_object& args, int nargout); |
|
166 |
|
167 extern Octave_object builtin_min (const Octave_object& args, int nargout); |
|
168 |
|
169 extern Octave_object builtin_npsol (const Octave_object& args, int nargout); |
|
170 |
|
171 extern Octave_object builtin_npsol_options (const Octave_object& args, |
|
172 int nargout); |
|
173 |
|
174 extern Octave_object builtin_ones (const Octave_object& args, int nargout); |
|
175 |
|
176 extern Octave_object builtin_pause (const Octave_object& args, int nargout); |
|
177 |
|
178 extern Octave_object builtin_purge_tmp_files (const Octave_object& args, |
|
179 int nargout); |
|
180 |
|
181 extern Octave_object builtin_printf (const Octave_object& args, int nargout); |
|
182 |
|
183 extern Octave_object builtin_prod (const Octave_object& args, int nargout); |
|
184 |
|
185 extern Octave_object builtin_pwd (const Octave_object& args, int nargout); |
|
186 |
|
187 extern Octave_object builtin_qpsol (const Octave_object& args, int nargout); |
|
188 |
|
189 extern Octave_object builtin_qpsol_options (const Octave_object& args, |
|
190 int nargout); |
|
191 |
|
192 extern Octave_object builtin_qr (const Octave_object& args, int nargout); |
|
193 |
|
194 extern Octave_object builtin_quad (const Octave_object& args, int nargout); |
|
195 |
|
196 extern Octave_object builtin_quad_options (const Octave_object& args, |
|
197 int nargout); |
|
198 |
|
199 extern Octave_object builtin_quit (const Octave_object& args, int nargout); |
|
200 |
|
201 extern Octave_object builtin_qzval (const Octave_object& args, int nargout); |
|
202 |
|
203 extern Octave_object builtin_rand (const Octave_object& args, int nargout); |
|
204 |
|
205 extern Octave_object builtin_setstr (const Octave_object& args, int nargout); |
|
206 |
|
207 extern Octave_object builtin_scanf (const Octave_object& args, int nargout); |
|
208 |
|
209 extern Octave_object builtin_schur (const Octave_object& args, int nargout); |
|
210 |
|
211 extern Octave_object builtin_shell_command (const Octave_object& args, |
|
212 int nargout); |
|
213 |
|
214 extern Octave_object builtin_size (const Octave_object& args, int nargout); |
|
215 |
|
216 extern Octave_object builtin_sort (const Octave_object& args, int nargout); |
|
217 |
|
218 extern Octave_object builtin_sprintf (const Octave_object& args, int nargout); |
|
219 |
|
220 extern Octave_object builtin_sqrtm (const Octave_object& args, int nargout); |
|
221 |
|
222 extern Octave_object builtin_sscanf (const Octave_object& args, int nargout); |
|
223 |
|
224 extern Octave_object builtin_sum (const Octave_object& args, int nargout); |
|
225 |
|
226 extern Octave_object builtin_sumsq (const Octave_object& args, int nargout); |
|
227 |
|
228 extern Octave_object builtin_svd (const Octave_object& args, int nargout); |
|
229 |
|
230 extern Octave_object builtin_syl (const Octave_object& args, int nargout); |
|
231 |
|
232 extern Octave_object builtin_va_arg (const Octave_object& args, int nargout); |
|
233 |
|
234 extern Octave_object builtin_va_start (const Octave_object& args, int nargout); |
|
235 |
|
236 extern Octave_object builtin_warranty (const Octave_object& args, int nargout); |
|
237 |
|
238 extern Octave_object builtin_zeros (const Octave_object& args, int nargout); |
1
|
239 |
|
240 #endif |
|
241 |
|
242 /* |
|
243 ;;; Local Variables: *** |
|
244 ;;; mode: C++ *** |
|
245 ;;; page-delimiter: "^/\\*" *** |
|
246 ;;; End: *** |
|
247 */ |