comparison liboctave/Array-util.h @ 11586:12df7854fa7c

strip trailing whitespace from source files
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 17:24:59 -0500
parents fd0a3ac60b0e
children 72c96de7a403
comparison
equal deleted inserted replaced
11585:1473d0cf86d2 11586:12df7854fa7c
45 45
46 extern OCTAVE_API bool any_ones (const Array<octave_idx_type>& arr); 46 extern OCTAVE_API bool any_ones (const Array<octave_idx_type>& arr);
47 47
48 // These four compute a linear index for given dimensions, throwing 48 // These four compute a linear index for given dimensions, throwing
49 // exceptions on invalid indices. 49 // exceptions on invalid indices.
50 extern OCTAVE_API octave_idx_type 50 extern OCTAVE_API octave_idx_type
51 compute_index (octave_idx_type n, const dim_vector& dims); 51 compute_index (octave_idx_type n, const dim_vector& dims);
52 52
53 extern OCTAVE_API octave_idx_type 53 extern OCTAVE_API octave_idx_type
54 compute_index (octave_idx_type i, octave_idx_type j, const dim_vector& dims); 54 compute_index (octave_idx_type i, octave_idx_type j, const dim_vector& dims);
55 55
56 extern OCTAVE_API octave_idx_type 56 extern OCTAVE_API octave_idx_type
57 compute_index (octave_idx_type i, octave_idx_type j, octave_idx_type k, 57 compute_index (octave_idx_type i, octave_idx_type j, octave_idx_type k,
58 const dim_vector& dims); 58 const dim_vector& dims);
59 59
60 extern OCTAVE_API octave_idx_type 60 extern OCTAVE_API octave_idx_type
61 compute_index (const Array<octave_idx_type>& ra_idx, const dim_vector& dims); 61 compute_index (const Array<octave_idx_type>& ra_idx, const dim_vector& dims);
62 62
63 extern OCTAVE_API Array<octave_idx_type> conv_to_int_array (const Array<idx_vector>& a); 63 extern OCTAVE_API Array<octave_idx_type> conv_to_int_array (const Array<idx_vector>& a);
64 64
65 extern OCTAVE_API Array<idx_vector> conv_to_array (const idx_vector *tmp, const octave_idx_type len); 65 extern OCTAVE_API Array<idx_vector> conv_to_array (const idx_vector *tmp, const octave_idx_type len);