source:
ntrip/trunk/BNC/newmat/newmatio.h@
10008
| Last change on this file since 10008 was 9434, checked in by , 5 years ago | |
|---|---|
| File size: 987 bytes | |
| Line | |
|---|---|
| 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_STD_NAMESPACE |
| 19 | using namespace std; |
| 20 | #endif |
| 21 | |
| 22 | // **************************** input/output *****************************/ |
| 23 | |
| 24 | ostream& operator<<(ostream&, const BaseMatrix&); |
| 25 | |
| 26 | ostream& operator<<(ostream&, const GeneralMatrix&); |
| 27 | |
| 28 | |
| 29 | /* Use in some old versions of G++ without complete iomanipulators |
| 30 | |
| 31 | class Omanip_precision |
| 32 | { |
| 33 | int x; |
| 34 | public: |
| 35 | Omanip_precision(int i) : x(i) {} |
| 36 | friend ostream& operator<<(ostream& os, Omanip_precision i); |
| 37 | }; |
| 38 | |
| 39 | |
| 40 | Omanip_precision setprecision(int i); |
| 41 | |
| 42 | class Omanip_width |
| 43 | { |
| 44 | int x; |
| 45 | public: |
| 46 | Omanip_width(int i) : x(i) {} |
| 47 | friend ostream& operator<<(ostream& os, Omanip_width i); |
| 48 | }; |
| 49 | |
| 50 | Omanip_width setw(int i); |
| 51 | |
| 52 | */ |
| 53 | |
| 54 | #ifdef use_namespace |
| 55 | } |
| 56 | #endif |
| 57 | |
| 58 | |
| 59 | |
| 60 | #endif |
| 61 | |
| 62 | // body file: newmat9.cpp |
| 63 | |
| 64 | |
| 65 | ///@} |
Note:
See TracBrowser
for help on using the repository browser.
