Mercurial > octave
comparison libinterp/octave-value/ov-str-mat.h @ 23586:f6c5db0a02e7
maint: Deprecate is_numeric_type and replace with isnumeric.
* ov.h (is_numeric_type): Use OCTAVE_DEPRECATED macro around function.
* ov.h (isnumeric): New function.
* make_int.cc, besselj.cc, cellfun.cc, data.cc, dot.cc, file-io.cc,
graphics.cc, load-path.cc, lookup.cc, lu.cc, mex.cc, mgorth.cc, oct-hist.cc,
pr-output.cc, schur.cc, sparse.cc, sqrtm.cc, sub2ind.cc, typecast.cc, utils.cc,
chol.cc, qr.cc, ov-base-diag.h, ov-base-mat.h, ov-base-scalar.h,
ov-base-sparse.h, ov-base.cc, ov-base.h, ov-bool-mat.cc, ov-bool-mat.h,
ov-bool-sparse.h, ov-bool.h, ov-cell.h, ov-class.cc, ov-fcn-inline.cc,
ov-lazy-idx.h, ov-perm.h, ov-range.h, ov-str-mat.h, ov-usr-fcn.cc, bp-table.cc:
Replace instances of is_numeric_type with isnumeric.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 13 Jun 2017 10:20:55 -0700 |
parents | cd4e1ee28716 |
children | 194eb4bd202b |
comparison
equal
deleted
inserted
replaced
23585:570170b6eb09 | 23586:f6c5db0a02e7 |
---|---|
109 octave_value diag (octave_idx_type k = 0) const | 109 octave_value diag (octave_idx_type k = 0) const |
110 { return octave_value (matrix.diag (k)); } | 110 { return octave_value (matrix.diag (k)); } |
111 | 111 |
112 bool is_string (void) const { return true; } | 112 bool is_string (void) const { return true; } |
113 | 113 |
114 bool is_numeric_type (void) const { return false; } | 114 bool isnumeric (void) const { return false; } |
115 | 115 |
116 double double_value (bool = false) const; | 116 double double_value (bool = false) const; |
117 | 117 |
118 Matrix matrix_value (bool = false) const; | 118 Matrix matrix_value (bool = false) const; |
119 | 119 |