#include "FGMatrix33.h"
#include "FGColumnVector3.h"
+#include <sstream>
+#include <iomanip>
+
+#include <iostream>
+
+using namespace std;
namespace JSBSim {
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+string FGMatrix33::Dump(const string& delimiter) const
+{
+ ostringstream buffer;
+ buffer << std::setw(18) << std::setprecision(16) << Entry(1,1) << delimiter;
+ buffer << std::setw(18) << std::setprecision(16) << Entry(1,2) << delimiter;
+ buffer << std::setw(18) << std::setprecision(16) << Entry(1,3) << delimiter;
+ buffer << std::setw(18) << std::setprecision(16) << Entry(2,1) << delimiter;
+ buffer << std::setw(18) << std::setprecision(16) << Entry(2,2) << delimiter;
+ buffer << std::setw(18) << std::setprecision(16) << Entry(2,3) << delimiter;
+ buffer << std::setw(18) << std::setprecision(16) << Entry(3,1) << delimiter;
+ buffer << std::setw(18) << std::setprecision(16) << Entry(3,2) << delimiter;
+ buffer << std::setw(18) << std::setprecision(16) << Entry(3,3);
+ return buffer.str();
+}
+
+//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
ostream& operator<<(ostream& os, const FGMatrix33& M)
{
for (unsigned int i=1; i<=M.Rows(); i++) {