comparison src/ov.cc @ 9351:e2344f4af0cb

autocache indices returned from find et al.
author Jaroslav Hajek <highegg@gmail.com>
date Mon, 15 Jun 2009 12:52:53 +0200
parents 67fc970dad7d
children ff612fdaee95
comparison
equal deleted inserted replaced
9350:16a5f9e1fdb3 9351:e2344f4af0cb
968 maybe_mutate (); 968 maybe_mutate ();
969 } 969 }
970 970
971 octave_value::octave_value (const ArrayN<octave_uint64>& inda) 971 octave_value::octave_value (const ArrayN<octave_uint64>& inda)
972 : rep (new octave_uint64_matrix (inda)) 972 : rep (new octave_uint64_matrix (inda))
973 {
974 maybe_mutate ();
975 }
976
977 octave_value::octave_value (const Array<octave_idx_type>& inda, bool zero_based,
978 bool cache_index)
979 : rep (new octave_matrix (inda, zero_based, cache_index))
973 { 980 {
974 maybe_mutate (); 981 maybe_mutate ();
975 } 982 }
976 983
977 octave_value::octave_value (double base, double limit, double inc) 984 octave_value::octave_value (double base, double limit, double inc)