~ubuntu-branches/ubuntu/precise/flightgear/precise

« back to all changes in this revision

Viewing changes to src/FDM/JSBSim/math/FGMatrix33.h

  • Committer: Bazaar Package Importer
  • Author(s): Ove Kaaven
  • Date: 2011-01-30 15:46:35 UTC
  • mfrom: (3.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110130154635-rlynmg9n5hzxq5xe
Tags: 2.0.0-3
* Recommend fgfs-aircraft-base and fgfs-models-base.
  Closes. #610276.
* Added note about scenery SharedModels.tgz to README.Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
Author: Tony Peden, Jon Berndt, Mathias Frolich
5
5
Date started: Unknown
6
6
 
7
 
 ------------- Copyright (C) 2001  Jon S. Berndt (jsb@hal-pc.org) -------------
 
7
 ------------- Copyright (C) 2001  Jon S. Berndt (jon@jsbsim.org) -------------
8
8
 
9
9
 This program is free software; you can redistribute it and/or modify it under
10
10
 the terms of the GNU Lesser General Public License as published by the Free Software
40
40
INCLUDES
41
41
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
42
42
 
43
 
#include <cstdlib>
44
43
#include <string>
45
 
#include <fstream>
46
 
#include <iostream>
47
 
#include <cmath>
48
 
 
49
 
using std::ostream;
50
 
using std::istream;
51
 
using std::cerr;
52
 
using std::cout;
53
 
using std::endl;
54
 
using std::string;
 
44
#include <iosfwd>
55
45
 
56
46
#include "FGColumnVector3.h"
57
47
#include "FGJSBBase.h"
84
74
class MatrixException : public FGJSBBase
85
75
{
86
76
public:
87
 
  string Message;
 
77
  std::string Message;
88
78
};
89
79
 
90
80
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
168
158
   */
169
159
  ~FGMatrix33(void) { Debug(1); }
170
160
 
 
161
  /** Prints the contents of the matrix.
 
162
      @param delimeter the item separator (tab or comma)
 
163
      @return a string with the delimeter-separated contents of the matrix  */
 
164
  std::string Dump(const std::string& delimeter) const;
 
165
 
171
166
  /** Read access the entries of the matrix.
172
167
      @param row Row index.
173
168
      @param col Column index.
450
445
 
451
446
    Write the matrix to a stream.
452
447
*/
453
 
ostream& operator<<(ostream& os, const FGMatrix33& M);
 
448
std::ostream& operator<<(std::ostream& os, const FGMatrix33& M);
454
449
 
455
450
/** Read matrix from a stream.
456
451
 
459
454
 
460
455
    Read matrix from a stream.
461
456
*/
462
 
istream& operator>>(istream& is, FGMatrix33& M);
 
457
std::istream& operator>>(std::istream& is, FGMatrix33& M);
463
458
 
464
459
} // namespace JSBSim
465
460