Mercurial > hg > octave-nkf
diff src/pt-const.h @ 1606:2d0541468991
[project @ 1995-11-02 12:57:17 by jwe]
author | jwe |
---|---|
date | Thu, 02 Nov 1995 12:58:59 +0000 |
parents | c02f877ca525 |
children | ac7e10016ca0 |
line wrap: on
line diff
--- a/src/pt-const.h +++ b/src/pt-const.h @@ -352,7 +352,7 @@ tree_constant (void) : tree_fvc () { rep = new tree_constant_rep (); rep->count = 1; } - tree_constant (double d) : tree_fvc () + tree_constant (double d, int l = -1, int c = -1) : tree_fvc (l, c) { rep = new tree_constant_rep (d); rep->count = 1; } tree_constant (const Matrix& m) : tree_fvc () @@ -367,8 +367,8 @@ tree_constant (const ColumnVector& v, int pcv = -1) : tree_fvc () { rep = new tree_constant_rep (v, pcv); rep->count = 1; } - tree_constant (const Complex& c) : tree_fvc () - { rep = new tree_constant_rep (c); rep->count = 1; } + tree_constant (const Complex& C, int l = -1, int c = -1) : tree_fvc (l, c) + { rep = new tree_constant_rep (C); rep->count = 1; } tree_constant (const ComplexMatrix& m) : tree_fvc () { rep = new tree_constant_rep (m); rep->count = 1; } @@ -382,7 +382,7 @@ tree_constant (const ComplexColumnVector& v, int pcv = -1) : tree_fvc () { rep = new tree_constant_rep (v, pcv); rep->count = 1; } - tree_constant (const char *s) : tree_fvc () + tree_constant (const char *s, int l = -1, int c = -1) : tree_fvc (l, c) { rep = new tree_constant_rep (s); rep->count = 1; } tree_constant (const charMatrix& chm, int is_string = 0) : tree_fvc ()