Mercurial > octave-nkf
comparison liboctave/intNDArray.h @ 5275:23b37da9fd5b
[project @ 2005-04-08 16:07:35 by jwe]
author | jwe |
---|---|
date | Fri, 08 Apr 2005 16:07:37 +0000 |
parents | e35b034d3523 |
children | 4c8a2e4e0717 |
comparison
equal
deleted
inserted
replaced
5274:eae7b40388e9 | 5275:23b37da9fd5b |
---|---|
70 { return intNDArray<T> (MArrayN<T>::squeeze ()); } | 70 { return intNDArray<T> (MArrayN<T>::squeeze ()); } |
71 | 71 |
72 intNDArray transpose (void) const | 72 intNDArray transpose (void) const |
73 { return intNDArray<T> (MArrayN<T>::transpose ()); } | 73 { return intNDArray<T> (MArrayN<T>::transpose ()); } |
74 | 74 |
75 intNDArray concat (const intNDArray<T>& rb, const Array<int>& ra_idx); | 75 intNDArray concat (const intNDArray<T>& rb, const Array<octave_idx_type>& ra_idx); |
76 | 76 |
77 intNDArray& insert (const intNDArray<T>& a, int r, int c); | 77 intNDArray& insert (const intNDArray<T>& a, octave_idx_type r, octave_idx_type c); |
78 intNDArray& insert (const intNDArray<T>& a, const Array<int>& ra_idx); | 78 intNDArray& insert (const intNDArray<T>& a, const Array<octave_idx_type>& ra_idx); |
79 | 79 |
80 static void increment_index (Array<int>& ra_idx, | 80 static void increment_index (Array<octave_idx_type>& ra_idx, |
81 const dim_vector& dimensions, | 81 const dim_vector& dimensions, |
82 int start_dimension = 0); | 82 int start_dimension = 0); |
83 | 83 |
84 static int compute_index (Array<int>& ra_idx, | 84 static octave_idx_type compute_index (Array<octave_idx_type>& ra_idx, |
85 const dim_vector& dimensions); | 85 const dim_vector& dimensions); |
86 | 86 |
87 static T resize_fill_value (void) { return 0; } | 87 static T resize_fill_value (void) { return 0; } |
88 | 88 |
89 protected: | 89 protected: |