2 #ifndef MATH_DIFFINSET_H
3 #define MATH_DIFFINSET_H
9 // d f(x)/dx in one block
10 // for interfacing external programs
12 #include "math_nestinset.h"
14 class MathDiffInset : public MathNestInset {
17 explicit MathDiffInset();
19 MathInset * clone() const;
21 void addDer(MathArray const & der);
23 void metrics(MathMetricsInfo & mi) const;
25 void draw(MathPainterInfo & pi, int x, int y) const;
28 void normalize(NormalStream &) const;
30 void maplize(MapleStream &) const;
32 void mathematicize(MathematicaStream &) const;
34 void mathmlize(MathMLStream &) const;
36 void write(WriteStream & os) const;