2003-08-19 13:00:56 +00:00
|
|
|
|
// -*- C++ -*-
|
|
|
|
|
/**
|
|
|
|
|
* \file math_extern.h
|
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
|
*
|
|
|
|
|
* \author Andr<EFBFBD> P<EFBFBD>nitz
|
|
|
|
|
*
|
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
|
*/
|
|
|
|
|
|
2001-11-09 10:44:24 +00:00
|
|
|
|
#ifndef MATH_EXTERN_H
|
|
|
|
|
#define MATH_EXTERN_H
|
|
|
|
|
|
2003-10-06 15:43:21 +00:00
|
|
|
|
#include <string>
|
2002-09-11 09:14:57 +00:00
|
|
|
|
|
2002-06-18 15:44:30 +00:00
|
|
|
|
|
2001-11-09 10:44:24 +00:00
|
|
|
|
class NormalStream;
|
|
|
|
|
class MapleStream;
|
2002-10-28 17:15:19 +00:00
|
|
|
|
class MaximaStream;
|
2002-07-01 11:17:14 +00:00
|
|
|
|
class MathematicaStream;
|
2001-11-09 10:44:24 +00:00
|
|
|
|
class MathMLStream;
|
|
|
|
|
class OctaveStream;
|
|
|
|
|
class WriteStream;
|
|
|
|
|
class MathArray;
|
|
|
|
|
|
|
|
|
|
void write(MathArray const &, WriteStream &);
|
|
|
|
|
void normalize(MathArray const &, NormalStream &);
|
2003-02-14 14:30:09 +00:00
|
|
|
|
void maple(MathArray const &, MapleStream &);
|
|
|
|
|
void maxima(MathArray const &, MaximaStream &);
|
|
|
|
|
void mathematica(MathArray const &, MathematicaStream &);
|
2001-11-09 10:44:24 +00:00
|
|
|
|
void mathmlize(MathArray const &, MathMLStream &);
|
2003-02-14 14:30:09 +00:00
|
|
|
|
void octave(MathArray const &, OctaveStream &);
|
2001-11-09 10:44:24 +00:00
|
|
|
|
|
2002-03-25 12:11:25 +00:00
|
|
|
|
bool extractNumber(MathArray const & ar, int & i);
|
|
|
|
|
bool extractNumber(MathArray const & ar, double & i);
|
|
|
|
|
|
2003-10-06 15:43:21 +00:00
|
|
|
|
MathArray pipeThroughExtern(std::string const & lang, std::string const & extra,
|
2002-06-18 15:44:30 +00:00
|
|
|
|
MathArray const & ar);
|
|
|
|
|
|
2001-11-09 10:44:24 +00:00
|
|
|
|
#endif
|