ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/utils/Utility.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-3.0/src/utils/Utility.hpp (file contents):
Revision 1817 by tim, Wed Dec 1 19:10:51 2004 UTC vs.
Revision 1818 by tim, Wed Dec 1 20:05:49 2004 UTC

# Line 3 | Line 3 | double dotProduct(vector<double>& v1, vector<double>&
3   #include <vector>
4   #include <math.h>
5  
6 double dotProduct(vector<double>& v1, vector<double>& v2);
7 double norm2(vector<double>& x);
8
6   inline double roundMe( double x ){
7    return ( x >= 0 ) ? floor( x + 0.5 ) : ceil( x - 0.5 );
8   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines