ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-4/src/utils/Utility.hpp
Revision: 1816
Committed: Wed Dec 1 19:10:51 2004 UTC (19 years, 7 months ago) by tim
File size: 274 byte(s)
Log Message:
spell check

File Contents

# User Rev Content
1 gezelter 1490 #ifndef _UTILITY_H_
2     #define _UTILITY_H_
3     #include <vector>
4     #include <math.h>
5 tim 1816
6 gezelter 1490 double dotProduct(vector<double>& v1, vector<double>& v2);
7     double norm2(vector<double>& x);
8 tim 1727
9     inline double roundMe( double x ){
10     return ( x >= 0 ) ? floor( x + 0.5 ) : ceil( x - 0.5 );
11     }
12    
13 gezelter 1490 #endif

Properties

Name Value
svn:executable *