Mercurial > octave-nkf
comparison src/ov-range.h @ 6999:9325d3f604a3
[project @ 2007-10-10 17:03:34 by jwe]
author | jwe |
---|---|
date | Wed, 10 Oct 2007 17:03:35 +0000 |
parents | 9e32bb109980 |
children | 93c65f2a5668 |
comparison
equal
deleted
inserted
replaced
6998:cc049a392a97 | 6999:9325d3f604a3 |
---|---|
118 { return NDArray (array_value().reshape (new_dims)); } | 118 { return NDArray (array_value().reshape (new_dims)); } |
119 | 119 |
120 octave_value permute (const Array<int>& vec, bool inv = false) const | 120 octave_value permute (const Array<int>& vec, bool inv = false) const |
121 { return NDArray (array_value().permute (vec, inv)); } | 121 { return NDArray (array_value().permute (vec, inv)); } |
122 | 122 |
123 octave_value squeeze (void) const { return range; } | |
124 | |
123 bool is_defined (void) const { return true; } | 125 bool is_defined (void) const { return true; } |
124 | 126 |
125 bool is_constant (void) const { return true; } | 127 bool is_constant (void) const { return true; } |
126 | 128 |
127 bool is_range (void) const { return true; } | 129 bool is_range (void) const { return true; } |