| # | Line 1 | Line 1 | |
|---|---|---|
| 1 | < | #ifndef _UTILITY_H_ |
| 2 | < | #define _UTILITY_H_ |
| 3 | < | #include <vector> |
| 4 | < | #include <math.h> |
| 5 | < | using namespace std; |
| 6 | < | double dotProduct(vector<double>& v1, vector<double>& v2); |
| 7 | < | double copysign(double sign, double value); |
| 8 | < | #endif |
| 1 | > | #ifndef _UTILITY_H_ |
| 2 | > | #define _UTILITY_H_ |
| 3 | > | #include <vector> |
| 4 | > | #include <math.h> |
| 5 | > | using namespace std; |
| 6 | > | double dotProduct(vector<double>& v1, vector<double>& v2); |
| 7 | > | double norm2(vector<double>& x); |
| 8 | > | #endif |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |