diff options
Diffstat (limited to 'symbol.cc')
-rw-r--r-- | symbol.cc | 28 |
1 files changed, 26 insertions, 2 deletions
@@ -1,11 +1,35 @@ #include "symbol.hh" + Symbol::Symbol() : dim(Interval(0,0),Interval(0,0)) { - tex = "\\unknown"; + tex = "\\unknown"; } Symbol::Symbol(String s, Box b) - : tex(s), dim(b) + : dim(b) +{ + tex = s; +} + +/****************************************************************/ + +Symbol +Parametric_symbol::eval(String args1)const { + svec<String> a; + a.add(args1); + return eval(a); } +Symbol +Parametric_symbol::eval(String args1,String arg2)const +{ + svec<String> a; + a.add(args1); + a.add(arg2); + return eval(a); +} + +Parametric_symbol::~Parametric_symbol() +{ +} |