comparison liboctave/boolNDArray.h @ 7620:36594d5bbe13

Move diag function into the octave_value class
author David Bateman <dbateman@free.fr>
date Fri, 21 Mar 2008 00:08:24 +0100
parents 8c32f95c2639
children 1dce30ab0e72
comparison
equal deleted inserted replaced
7619:56012914972a 7620:36594d5bbe13
107 } 107 }
108 108
109 return retval; 109 return retval;
110 } 110 }
111 111
112 boolNDArray diag (octave_idx_type k = 0) const;
113
112 private: 114 private:
113 115
114 boolNDArray (bool *d, dim_vector& dv) : ArrayN<bool> (d, dv) { } 116 boolNDArray (bool *d, dim_vector& dv) : ArrayN<bool> (d, dv) { }
115 }; 117 };
116 118