Mercurial > octave
comparison libinterp/octave-value/ov-complex.h @ 29569:29a1f8fd8ee6
move idx_vector classes inside octave namespace
* idx-vector.h, idx-vector.cc:
Move idx_vector classes inside octave namespace. Update all uses
outside of octave namespace to use octave:: tag.
* Sparse.h: Eliminate forward declaration of idx_vector.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 28 Apr 2021 13:46:02 -0400 |
parents | 7854d5752dd2 |
children | 796f54d4ddbf |
comparison
equal
deleted
inserted
replaced
29568:a7cbd0e54e7a | 29569:29a1f8fd8ee6 |
---|---|
80 | 80 |
81 octave_value do_index_op (const octave_value_list& idx, | 81 octave_value do_index_op (const octave_value_list& idx, |
82 bool resize_ok = false); | 82 bool resize_ok = false); |
83 | 83 |
84 // Use this to give a more specific error message. | 84 // Use this to give a more specific error message. |
85 idx_vector index_vector (bool /* require_integers */ = false) const; | 85 octave::idx_vector index_vector (bool /* require_integers */ = false) const; |
86 | 86 |
87 octave_value any (int = 0) const | 87 octave_value any (int = 0) const |
88 { | 88 { |
89 return (scalar != Complex (0, 0) | 89 return (scalar != Complex (0, 0) |
90 && ! (lo_ieee_isnan (scalar.real ()) | 90 && ! (lo_ieee_isnan (scalar.real ()) |