ocra-recipes
Doxygen documentation for the ocra-recipes repository
FileOperations.cpp
Go to the documentation of this file.
2 // #include "ocra/optim/Variable.h"
3 // #include "ocra/optim/QuadraticSolver.h"
4 //
5 //
6 //
7 // namespace ocra
8 // {
9 // int ToScilab::precision = Eigen::StreamPrecision;
10 //
11 // ToScilab::ToScilab(const Variable& v)
12 // {
13 // Eigen::IOFormat f(precision, 0, ", ", ";", "", "", "[", "]");
14 // std::ostringstream os;
15 // os << v.getValue().format(f);
16 // str = os.str();
17 // }
18 //
19 // ToScilab::ToScilab(const QuadraticSolver& s)
20 // {
21 // throw "TODO";
22 // }
23 //
24 // std::ostream& operator<< (std::ostream& os, const ToScilab& obj)
25 // {
26 // return os << obj.str;
27 // }
28 // }
29 //
Some FileOperations function for debbuging purpose.