comparison liboctave/chNDArray.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
62 62
63 // XXX FIXME XXX -- this is not quite the right thing. 63 // XXX FIXME XXX -- this is not quite the right thing.
64 64
65 boolNDArray all (int dim = -1) const; 65 boolNDArray all (int dim = -1) const;
66 boolNDArray any (int dim = -1) const; 66 boolNDArray any (int dim = -1) const;
67 charNDArray concat (const charNDArray& rb, const Array<int>& ra_idx); 67 charNDArray concat (const charNDArray& rb, const Array<octave_idx_type>& ra_idx);
68 charNDArray concat (const NDArray& rb, const Array<int>& ra_idx); 68 charNDArray concat (const NDArray& rb, const Array<octave_idx_type>& ra_idx);
69 69
70 charNDArray& insert (const charNDArray& a, int r, int c); 70 charNDArray& insert (const charNDArray& a, octave_idx_type r, octave_idx_type c);
71 charNDArray& insert (const charNDArray& a, const Array<int>& ra_idx); 71 charNDArray& insert (const charNDArray& a, const Array<octave_idx_type>& ra_idx);
72 72
73 charMatrix matrix_value (void) const; 73 charMatrix matrix_value (void) const;
74 74
75 charNDArray squeeze (void) const { return ArrayN<char>::squeeze (); } 75 charNDArray squeeze (void) const { return ArrayN<char>::squeeze (); }
76 76
77 static void increment_index (Array<int>& ra_idx, 77 static void increment_index (Array<octave_idx_type>& ra_idx,
78 const dim_vector& dimensions, 78 const dim_vector& dimensions,
79 int start_dimension = 0); 79 int start_dimension = 0);
80 80
81 static int compute_index (Array<int>& ra_idx, 81 static octave_idx_type compute_index (Array<octave_idx_type>& ra_idx,
82 const dim_vector& dimensions); 82 const dim_vector& dimensions);
83 83
84 // i/o 84 // i/o
85 85
86 // friend std::ostream& operator << (std::ostream& os, const charNDArray& a); 86 // friend std::ostream& operator << (std::ostream& os, const charNDArray& a);