You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1014 B
Plaintext
62 lines
1014 B
Plaintext
//$$ newmatio.h definition file for matrix package input/output
|
|
|
|
// Copyright (C) 1991,2,3,4: R B Davies
|
|
|
|
#ifndef NEWMATIO_LIB
|
|
#define NEWMATIO_LIB 0
|
|
|
|
#ifndef WANT_STREAM
|
|
#define WANT_STREAM
|
|
#endif
|
|
|
|
#include "newmat.h"
|
|
|
|
#ifdef use_namespace
|
|
namespace NEWMAT {
|
|
#endif
|
|
|
|
|
|
|
|
/**************************** input/output *****************************/
|
|
|
|
ostream& operator<<(ostream&, const BaseMatrix&);
|
|
|
|
ostream& operator<<(ostream&, const GeneralMatrix&);
|
|
|
|
|
|
/* Use in some old versions of G++ without complete iomanipulators
|
|
|
|
class Omanip_precision
|
|
{
|
|
int x;
|
|
public:
|
|
Omanip_precision(int i) : x(i) {}
|
|
friend ostream& operator<<(ostream& os, Omanip_precision i);
|
|
};
|
|
|
|
|
|
Omanip_precision setprecision(int i);
|
|
|
|
class Omanip_width
|
|
{
|
|
int x;
|
|
public:
|
|
Omanip_width(int i) : x(i) {}
|
|
friend ostream& operator<<(ostream& os, Omanip_width i);
|
|
};
|
|
|
|
Omanip_width setw(int i);
|
|
|
|
*/
|
|
|
|
#ifdef use_namespace
|
|
}
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
// body file: newmat9.cpp
|
|
|