|
Last change
on this file since 4639 was
4565,
checked in by patrick, 20 years ago
|
|
orxonox/trunk: added the newmat library to the project. needs some translation in directory, temp under util/newmat. is needed by the collision detection engine to perform lin alg operations such as eigenvector decomposition. perhaps we will make our own library to do that later.
|
|
File size:
953 bytes
|
| Line | |
|---|
| 1 | //$$ newmatio.h definition file for matrix package input/output |
|---|
| 2 | |
|---|
| 3 | // Copyright (C) 1991,2,3,4: R B Davies |
|---|
| 4 | |
|---|
| 5 | #ifndef NEWMATIO_LIB |
|---|
| 6 | #define NEWMATIO_LIB 0 |
|---|
| 7 | |
|---|
| 8 | #ifndef WANT_STREAM |
|---|
| 9 | #define WANT_STREAM |
|---|
| 10 | #endif |
|---|
| 11 | |
|---|
| 12 | #include "newmat.h" |
|---|
| 13 | |
|---|
| 14 | #ifdef use_namespace |
|---|
| 15 | namespace NEWMAT { |
|---|
| 16 | #endif |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | /**************************** input/output *****************************/ |
|---|
| 21 | |
|---|
| 22 | ostream& operator<<(ostream&, const BaseMatrix&); |
|---|
| 23 | |
|---|
| 24 | ostream& operator<<(ostream&, const GeneralMatrix&); |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | /* Use in some old versions of G++ without complete iomanipulators |
|---|
| 28 | |
|---|
| 29 | class Omanip_precision |
|---|
| 30 | { |
|---|
| 31 | int x; |
|---|
| 32 | public: |
|---|
| 33 | Omanip_precision(int i) : x(i) {} |
|---|
| 34 | friend ostream& operator<<(ostream& os, Omanip_precision i); |
|---|
| 35 | }; |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | Omanip_precision setprecision(int i); |
|---|
| 39 | |
|---|
| 40 | class Omanip_width |
|---|
| 41 | { |
|---|
| 42 | int x; |
|---|
| 43 | public: |
|---|
| 44 | Omanip_width(int i) : x(i) {} |
|---|
| 45 | friend ostream& operator<<(ostream& os, Omanip_width i); |
|---|
| 46 | }; |
|---|
| 47 | |
|---|
| 48 | Omanip_width setw(int i); |
|---|
| 49 | |
|---|
| 50 | */ |
|---|
| 51 | |
|---|
| 52 | #ifdef use_namespace |
|---|
| 53 | } |
|---|
| 54 | #endif |
|---|
| 55 | |
|---|
| 56 | |
|---|
| 57 | |
|---|
| 58 | #endif |
|---|
| 59 | |
|---|
| 60 | // body file: newmat9.cpp |
|---|
| 61 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.