Mercurial > hg > octave-nkf
comparison liboctave/intNDArray.h @ 4915:c638c144d4da
[project @ 2004-07-23 19:01:22 by jwe]
author | jwe |
---|---|
date | Fri, 23 Jul 2004 19:01:23 +0000 |
parents | bd043a433918 |
children | e71be9c548f2 |
comparison
equal
deleted
inserted
replaced
4914:1c0442da75fd | 4915:c638c144d4da |
---|---|
67 | 67 |
68 // XXX FIXME XXX -- this is not quite the right thing. | 68 // XXX FIXME XXX -- this is not quite the right thing. |
69 | 69 |
70 boolNDArray all (int dim = -1) const; | 70 boolNDArray all (int dim = -1) const; |
71 boolNDArray any (int dim = -1) const; | 71 boolNDArray any (int dim = -1) const; |
72 int cat (const intNDArray<T>& ra_arg, int dim, int iidx, int move); | |
73 | 72 |
74 intNDArray squeeze (void) const | 73 intNDArray squeeze (void) const |
75 { return intNDArray<T> (MArrayN<T>::squeeze ()); } | 74 { return intNDArray<T> (MArrayN<T>::squeeze ()); } |
76 | 75 |
77 intNDArray transpose (void) const | 76 intNDArray transpose (void) const |
78 { return intNDArray<T> (MArrayN<T>::transpose ()); } | 77 { return intNDArray<T> (MArrayN<T>::transpose ()); } |
78 | |
79 intNDArray& insert (const intNDArray<T>& a, int r, int c); | |
80 intNDArray& insert (const intNDArray<T>& a, const Array<int>& ra_idx); | |
79 | 81 |
80 static void increment_index (Array<int>& ra_idx, | 82 static void increment_index (Array<int>& ra_idx, |
81 const dim_vector& dimensions, | 83 const dim_vector& dimensions, |
82 int start_dimension = 0); | 84 int start_dimension = 0); |
83 | 85 |