Mercurial > hg > octave-nkf
diff liboctave/idx-vector.h @ 2386:4fc9fd1424a9
[project @ 1996-10-12 18:31:34 by jwe]
author | jwe |
---|---|
date | Sat, 12 Oct 1996 18:38:10 +0000 |
parents | de9eb7bd4405 |
children | 00b2eff19bf5 |
line wrap: on
line diff
--- a/liboctave/idx-vector.h +++ b/liboctave/idx-vector.h @@ -64,6 +64,8 @@ idx_vector_rep (const Range& r); + idx_vector_rep (double d); + idx_vector_rep (char c); idx_vector_rep (const idx_vector_rep& a); @@ -155,6 +157,12 @@ rep->count = 1; } + idx_vector (double d) + { + rep = new idx_vector_rep (d); + rep->count = 1; + } + idx_vector (char c) { rep = new idx_vector_rep (c);