Mercurial > hg > octave-lyh
comparison liboctave/Array.h @ 4567:fc30061d01da
[project @ 2003-10-29 20:11:15 by jwe]
author | jwe |
---|---|
date | Wed, 29 Oct 2003 20:11:16 +0000 |
parents | 802818bfac91 |
children | a1ac9ab474a1 |
comparison
equal
deleted
inserted
replaced
4566:30ba814d6700 | 4567:fc30061d01da |
---|---|
403 T operator () (int i, int j) const { return elem (i, j); } | 403 T operator () (int i, int j) const { return elem (i, j); } |
404 T operator () (int i, int j, int k) const { return elem (i, j, k); } | 404 T operator () (int i, int j, int k) const { return elem (i, j, k); } |
405 T operator () (const Array<int>& ra_idx) const { return elem (ra_idx); } | 405 T operator () (const Array<int>& ra_idx) const { return elem (ra_idx); } |
406 #endif | 406 #endif |
407 | 407 |
408 Array<T> reshape (const dim_vector& new_dims) const; | |
409 | |
408 void resize_no_fill (int n); | 410 void resize_no_fill (int n); |
409 void resize_and_fill (int n, const T& val); | 411 void resize_and_fill (int n, const T& val); |
410 | 412 |
411 // !!! WARNING !!! -- the following resize_no_fill and | 413 // !!! WARNING !!! -- the following resize_no_fill and |
412 // resize_and_fill functions are public because template friends | 414 // resize_and_fill functions are public because template friends |