1 #include <AD/symbolic/term.h>
3 SymbolicTerm:: SymbolicTerm(int i
)
4 : entries(i
), args(new SymbolicExpr
* [i
]) {}
5 SymbolicTerm:: SymbolicTerm(int i
, SymbolicExpr
* a
[])
6 : entries(i
), args(new SymbolicExpr
* [i
])
7 { for (int j
= 0; j
< i
; j
++) args
[j
] = a
[j
]; }
8 SymbolicTerm::~SymbolicTerm() { delete [] args
; }