// Rascal, the Advanced Scientific CALculator
// Copyright (C) 2001, Sebastian Ritterbusch (Rascal@Ritterbusch.de)
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more detauls.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//

#include <math.h>
#include <string>

using std::string;

#include "mmatrix.hpp"
class value;
typedef mmatrix<value> valuematrix;
string output(const valuematrix &a);
string output(const int &a);
string output(const double &a);
int fac(int);
value matrixmatrixcell(const valuematrix &,const valuematrix &);

int   showlicence(void);
string   showversion(void);
string   showconfiguration(void);

int   quit_program(void);

int   showvariables(void);
int   showfunctions(void);
int   showmodules(void);

value stringtoint(string);
value stringtodouble(string);

int   showprecision(void);
int   precision(int,int);

valuematrix randommatrix(int n,int m);


syntax highlighted by Code2HTML, v. 0.9.1