| 101 | } |
| 102 | |
| 103 | void toVector(const VDouble& v, Vector& res) { |
| 104 | res.resize(v.size()); |
| 105 | |
| 106 | for (unsigned int i = 0; i < v.size(); i++) { |
| 107 | res(i) = v[i]; |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | double normVDouble(const VDouble& v) { |
| 112 | double res = 0.0; |
no test coverage detected