Mercurial > hg > octave-nkf
changeset 6932:8065a1bc0358
[project @ 2007-09-28 10:40:08 by dbateman]
author | dbateman |
---|---|
date | Fri, 28 Sep 2007 10:40:09 +0000 |
parents | ead14c505096 |
children | d09b8a5d09e2 |
files | src/ChangeLog src/ov-range.h |
diffstat | 2 files changed, 30 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2007-09-28 David Bateman <dbateman@free.fr> + + * ov-range.h (int8_array_value, int16_array_value, int32_array_value, + int64_array_value, uint8_array_value, uint16_array_value, + int32_array_value, uint64_array_value): New methods + 2007-09-28 Kai Habel <kai.habel@gmx.de> * graphics.h.in (color_property::colormap_property (const Matrix&)):
--- a/src/ov-range.h +++ b/src/ov-range.h @@ -163,6 +163,30 @@ NDArray array_value (bool = false) const { return range.matrix_value (); } + int8NDArray + int8_array_value (void) const { return int8NDArray (array_value ()); } + + int16NDArray + int16_array_value (void) const { return int16NDArray (array_value ()); } + + int32NDArray + int32_array_value (void) const { return int32NDArray (array_value ()); } + + int64NDArray + int64_array_value (void) const { return int64NDArray (array_value ()); } + + uint8NDArray + uint8_array_value (void) const { return uint8NDArray (array_value ()); } + + uint16NDArray + uint16_array_value (void) const { return uint16NDArray (array_value ()); } + + uint32NDArray + uint32_array_value (void) const { return uint32NDArray (array_value ()); } + + uint64NDArray + uint64_array_value (void) const { return uint64NDArray (array_value ()); } + SparseMatrix sparse_matrix_value (bool = false) const { return SparseMatrix (range.matrix_value ()); }