| Rev | Line | |
|---|
| [8901] | 1 | /// \ingroup newmat
|
|---|
| 2 | ///@{
|
|---|
| 3 |
|
|---|
| 4 | /// \file newmatio.h
|
|---|
| 5 | /// Definition file for matrix package output.
|
|---|
| 6 |
|
|---|
| 7 | // Copyright (C) 1991,2,3,4: R B Davies
|
|---|
| 8 |
|
|---|
| 9 | #ifndef NEWMATIO_LIB
|
|---|
| 10 | #define NEWMATIO_LIB 0
|
|---|
| 11 |
|
|---|
| 12 | #ifndef WANT_STREAM
|
|---|
| 13 | #define WANT_STREAM
|
|---|
| 14 | #endif
|
|---|
| 15 |
|
|---|
| 16 | #include "newmat.h"
|
|---|
| 17 |
|
|---|
| 18 | #ifdef use_namespace
|
|---|
| 19 | namespace NEWMAT {
|
|---|
| 20 | #endif
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 | // **************************** input/output *****************************/
|
|---|
| 25 |
|
|---|
| 26 | ostream& operator<<(ostream&, const BaseMatrix&);
|
|---|
| 27 |
|
|---|
| 28 | ostream& operator<<(ostream&, const GeneralMatrix&);
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 | /* Use in some old versions of G++ without complete iomanipulators
|
|---|
| 32 |
|
|---|
| 33 | class Omanip_precision
|
|---|
| 34 | {
|
|---|
| 35 | int x;
|
|---|
| 36 | public:
|
|---|
| 37 | Omanip_precision(int i) : x(i) {}
|
|---|
| 38 | friend ostream& operator<<(ostream& os, Omanip_precision i);
|
|---|
| 39 | };
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 | Omanip_precision setprecision(int i);
|
|---|
| 43 |
|
|---|
| 44 | class Omanip_width
|
|---|
| 45 | {
|
|---|
| 46 | int x;
|
|---|
| 47 | public:
|
|---|
| 48 | Omanip_width(int i) : x(i) {}
|
|---|
| 49 | friend ostream& operator<<(ostream& os, Omanip_width i);
|
|---|
| 50 | };
|
|---|
| 51 |
|
|---|
| 52 | Omanip_width setw(int i);
|
|---|
| 53 |
|
|---|
| 54 | */
|
|---|
| 55 |
|
|---|
| 56 | #ifdef use_namespace
|
|---|
| 57 | }
|
|---|
| 58 | #endif
|
|---|
| 59 |
|
|---|
| 60 |
|
|---|
| 61 |
|
|---|
| 62 | #endif
|
|---|
| 63 |
|
|---|
| 64 | // body file: newmat9.cpp
|
|---|
| 65 |
|
|---|
| 66 |
|
|---|
| 67 | ///@}
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.