2003-08-19 13:00:56 +00:00
|
|
|
|
// -*- C++ -*-
|
|
|
|
|
/**
|
2006-09-17 09:14:18 +00:00
|
|
|
|
* \file MathExtern.h
|
2003-08-19 13:00:56 +00:00
|
|
|
|
* 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
|
|
|
|
|
|
2006-10-19 16:51:30 +00:00
|
|
|
|
#include "support/docstring.h"
|
2006-10-22 10:15:23 +00:00
|
|
|
|
#include <string>
|
2002-06-18 15:44:30 +00:00
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
namespace lyx {
|
|
|
|
|
|
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;
|
2006-10-22 10:15:23 +00:00
|
|
|
|
class MathStream;
|
2001-11-09 10:44:24 +00:00
|
|
|
|
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 &);
|
2006-10-22 10:15:23 +00:00
|
|
|
|
void mathmlize(MathArray const &, MathStream &);
|
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);
|
|
|
|
|
|
2006-10-22 10:15:23 +00:00
|
|
|
|
MathArray pipeThroughExtern(std::string const & language,
|
|
|
|
|
docstring const & extra, MathArray const & ar);
|
2002-06-18 15:44:30 +00:00
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
2001-11-09 10:44:24 +00:00
|
|
|
|
#endif
|