2001-11-09 08:35:57 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
#ifndef MATH_MATRIXINSET_H
|
|
|
|
#define MATH_MATRIXINSET_H
|
|
|
|
|
2002-04-24 17:07:42 +00:00
|
|
|
#include "math_gridinset.h"
|
2001-11-09 08:35:57 +00:00
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// "shortcut" for DelimInset("(",ArrayInset,")")
|
|
|
|
|
2002-04-24 17:07:42 +00:00
|
|
|
class MathMatrixInset : public MathGridInset {
|
2002-03-21 17:42:56 +00:00
|
|
|
public:
|
2001-11-09 08:35:57 +00:00
|
|
|
///
|
2002-04-24 17:07:42 +00:00
|
|
|
MathMatrixInset(MathGridInset const &);
|
2001-11-09 08:35:57 +00:00
|
|
|
///
|
|
|
|
MathMatrixInset(string const & str);
|
|
|
|
///
|
|
|
|
MathInset * clone() const;
|
|
|
|
///
|
|
|
|
void metrics(MathMetricsInfo const &) const {}
|
|
|
|
/// identifies MatrixInsets
|
|
|
|
MathMatrixInset const * asMatrixInset() const { return this; }
|
|
|
|
|
|
|
|
///
|
|
|
|
void write(WriteStream & os) const;
|
|
|
|
///
|
|
|
|
void normalize(NormalStream &) const;
|
|
|
|
///
|
|
|
|
void maplize(MapleStream &) const;
|
|
|
|
///
|
|
|
|
void mathmlize(MathMLStream &) const;
|
|
|
|
///
|
|
|
|
void octavize(OctaveStream &) const;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|