GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
pt-cell.h
Go to the documentation of this file.
1 /*
2 
3 Copyright (C) 1999-2017 John W. Eaton
4 
5 This file is part of Octave.
6 
7 Octave is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the
9 Free Software Foundation; either version 3 of the License, or (at your
10 option) any later version.
11 
12 Octave is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details.
16 
17 You should have received a copy of the GNU General Public License
18 along with Octave; see the file COPYING. If not, see
19 <http://www.gnu.org/licenses/>.
20 
21 */
22 
23 #if ! defined (octave_pt_cell_h)
24 #define octave_pt_cell_h 1
25 
26 #include "octave-config.h"
27 
28 #include <iosfwd>
29 
30 class octave_value;
31 class octave_value_list;
32 class tree_argument_list;
33 
34 class tree_walker;
35 
36 #include "pt-mat.h"
37 #include "symtab.h"
38 
39 // General cells.
40 
41 class
43 {
44 public:
45 
46  tree_cell (tree_argument_list *row = 0, int l = -1, int c = -1)
47  : tree_array_list (row, l, c)
48  { }
49 
50  ~tree_cell (void) { }
51 
52  bool is_cell (void) const { return true; }
53 
54  bool rvalue_ok (void) const { return true; }
55 
56  octave_value rvalue1 (int nargout = 1);
57 
58  octave_value_list rvalue (int);
59 
62 
63  void accept (tree_walker& tw);
64 
65 private:
66 
67  // No copying!
68 
69  tree_cell (const tree_cell&);
70 
72 };
73 
74 #endif
bool rvalue_ok(void) const
Definition: pt-cell.h:54
OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function xample nargout(@histc)
Definition: ov-usr-fcn.cc:935
static llvm::LLVMContext & context
Definition: jit-typeinfo.cc:76
the sparsity preserving column transformation such that that defines the pivoting threshold can be given in which case it defines the c
Definition: lu.cc:138
tree_cell(tree_argument_list *row=0, int l=-1, int c=-1)
Definition: pt-cell.h:46
~tree_cell(void)
Definition: pt-cell.h:50
tree_walker & operator=(const tree_walker &)
where the brackets indicate optional arguments and and character or cell array For character arrays the conversion is repeated for every row
Definition: str2double.cc:342
bool is_cell(void) const
Definition: pt-cell.h:52