summaryrefslogtreecommitdiff
path: root/symbol.cc
diff options
context:
space:
mode:
Diffstat (limited to 'symbol.cc')
-rw-r--r--symbol.cc28
1 files changed, 26 insertions, 2 deletions
diff --git a/symbol.cc b/symbol.cc
index 66771dc90a..d67049cefa 100644
--- a/symbol.cc
+++ b/symbol.cc
@@ -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()
+{
+}