1
|
1 // Builtin general function support. -*- C++ -*- |
|
2 /* |
|
3 |
|
4 Copyright (C) 1992, 1993 John W. Eaton |
|
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 |
|
24 #if !defined (_g_builtins_h) |
|
25 #define _g_builtins_h 1 |
|
26 |
|
27 #ifdef __GNUG__ |
|
28 #pragma interface |
|
29 #endif |
|
30 |
|
31 #include "tree-const.h" |
|
32 |
|
33 struct builtin_general_functions |
|
34 { |
|
35 char *name; |
|
36 int nargin_max; |
|
37 int nargout_max; |
|
38 General_fcn general_fcn; |
|
39 char *help_string; |
|
40 }; |
|
41 |
|
42 extern tree_constant *builtin_all (tree_constant *, int, int); |
|
43 extern tree_constant *builtin_any (tree_constant *, int, int); |
20
|
44 extern tree_constant *builtin_balance (tree_constant *, int, int); |
1
|
45 extern tree_constant *builtin_clc (tree_constant *, int, int); |
|
46 extern tree_constant *builtin_clock (tree_constant *, int, int); |
|
47 extern tree_constant *builtin_closeplot (tree_constant *, int, int); |
|
48 extern tree_constant *builtin_colloc (tree_constant *, int, int); |
|
49 extern tree_constant *builtin_cumprod (tree_constant *, int, int); |
|
50 extern tree_constant *builtin_cumsum (tree_constant *, int, int); |
|
51 extern tree_constant *builtin_dassl (tree_constant *, int, int); |
|
52 extern tree_constant *builtin_date (tree_constant *, int, int); |
|
53 extern tree_constant *builtin_det (tree_constant *, int, int); |
|
54 extern tree_constant *builtin_diag (tree_constant *, int, int); |
|
55 extern tree_constant *builtin_disp (tree_constant *, int, int); |
|
56 extern tree_constant *builtin_eig (tree_constant *, int, int); |
|
57 extern tree_constant *builtin_error (tree_constant *, int, int); |
|
58 extern tree_constant *builtin_eval (tree_constant *, int, int); |
|
59 extern tree_constant *builtin_exist (tree_constant *, int, int); |
|
60 extern tree_constant *builtin_expm (tree_constant *, int, int); |
|
61 extern tree_constant *builtin_eye (tree_constant *, int, int); |
|
62 extern tree_constant *builtin_fclose (tree_constant *, int, int); |
|
63 extern tree_constant *builtin_feval (tree_constant *, int, int); |
|
64 extern tree_constant *builtin_fflush (tree_constant *, int, int); |
|
65 extern tree_constant *builtin_fft (tree_constant *, int, int); |
|
66 extern tree_constant *builtin_fgets (tree_constant *, int, int); |
|
67 extern tree_constant *builtin_find (tree_constant *, int, int); |
|
68 extern tree_constant *builtin_flops (tree_constant *, int, int); |
|
69 extern tree_constant *builtin_fopen (tree_constant *, int, int); |
|
70 extern tree_constant *builtin_fprintf (tree_constant *, int, int); |
|
71 extern tree_constant *builtin_frewind (tree_constant *, int, int); |
|
72 extern tree_constant *builtin_freport (tree_constant *, int, int); |
|
73 extern tree_constant *builtin_fscanf (tree_constant *, int, int); |
|
74 extern tree_constant *builtin_fseek (tree_constant *, int, int); |
|
75 extern tree_constant *builtin_fsolve (tree_constant *, int, int); |
|
76 extern tree_constant *builtin_fsqp (tree_constant *, int, int); |
|
77 extern tree_constant *builtin_ftell (tree_constant *, int, int); |
|
78 extern tree_constant *builtin_getenv (tree_constant *, int, int); |
32
|
79 extern tree_constant *builtin_givens (tree_constant *, int, int); |
1
|
80 extern tree_constant *builtin_hess (tree_constant *, int, int); |
|
81 extern tree_constant *builtin_input (tree_constant *, int, int); |
|
82 extern tree_constant *builtin_ifft (tree_constant *, int, int); |
|
83 extern tree_constant *builtin_inv (tree_constant *, int, int); |
|
84 extern tree_constant *builtin_isstr (tree_constant *, int, int); |
|
85 extern tree_constant *builtin_keyboard (tree_constant *, int, int); |
|
86 extern tree_constant *builtin_logm (tree_constant *, int, int); |
|
87 extern tree_constant *builtin_lpsolve (tree_constant *, int, int); |
|
88 extern tree_constant *builtin_lsode (tree_constant *, int, int); |
|
89 extern tree_constant *builtin_lu (tree_constant *, int, int); |
|
90 extern tree_constant *builtin_max (tree_constant *, int, int); |
|
91 extern tree_constant *builtin_min (tree_constant *, int, int); |
|
92 extern tree_constant *builtin_npsol (tree_constant *, int, int); |
|
93 extern tree_constant *builtin_ones (tree_constant *, int, int); |
|
94 extern tree_constant *builtin_pause (tree_constant *, int, int); |
|
95 extern tree_constant *builtin_purge_tmp_files (tree_constant *, int, int); |
|
96 extern tree_constant *builtin_printf (tree_constant *, int, int); |
|
97 extern tree_constant *builtin_prod (tree_constant *, int, int); |
|
98 extern tree_constant *builtin_pwd (tree_constant *, int, int); |
|
99 extern tree_constant *builtin_qpsol (tree_constant *, int, int); |
|
100 extern tree_constant *builtin_qr (tree_constant *, int, int); |
|
101 extern tree_constant *builtin_quad (tree_constant *, int, int); |
|
102 extern tree_constant *builtin_quit (tree_constant *, int, int); |
45
|
103 extern tree_constant *builtin_qzval (tree_constant *, int, int); |
1
|
104 extern tree_constant *builtin_rand (tree_constant *, int, int); |
|
105 extern tree_constant *builtin_replot (tree_constant *, int, int); |
|
106 extern tree_constant *builtin_setstr (tree_constant *, int, int); |
|
107 extern tree_constant *builtin_scanf (tree_constant *, int, int); |
|
108 extern tree_constant *builtin_schur (tree_constant *, int, int); |
|
109 extern tree_constant *builtin_shell_command (tree_constant *, int, int); |
|
110 extern tree_constant *builtin_size (tree_constant *, int, int); |
|
111 extern tree_constant *builtin_sort (tree_constant *, int, int); |
|
112 extern tree_constant *builtin_sprintf (tree_constant *, int, int); |
|
113 extern tree_constant *builtin_sqrtm (tree_constant *, int, int); |
|
114 extern tree_constant *builtin_sscanf (tree_constant *, int, int); |
|
115 extern tree_constant *builtin_sum (tree_constant *, int, int); |
|
116 extern tree_constant *builtin_sumsq (tree_constant *, int, int); |
|
117 extern tree_constant *builtin_svd (tree_constant *, int, int); |
38
|
118 extern tree_constant *builtin_syl (tree_constant *, int, int); |
1
|
119 extern tree_constant *builtin_warranty (tree_constant *, int, int); |
|
120 extern tree_constant *builtin_zeros (tree_constant *, int, int); |
|
121 |
|
122 #endif |
|
123 |
|
124 /* |
|
125 ;;; Local Variables: *** |
|
126 ;;; mode: C++ *** |
|
127 ;;; page-delimiter: "^/\\*" *** |
|
128 ;;; End: *** |
|
129 */ |