Changeset 6c09a4 for molecuilder/src/vector.hpp
- Timestamp:
- Aug 19, 2009, 12:23:05 PM (16 years ago)
- Children:
- daf5d6
- Parents:
- 66ce7a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/vector.hpp
r66ce7a r6c09a4 27 27 double PeriodicDistanceSquared(const Vector *y, const double *cell_size) const; 28 28 double ScalarProduct(const Vector *y) const; 29 double Projection(const Vector *y) const;30 29 double Norm() const; 31 30 double NormSquared() const; … … 33 32 bool IsZero() const; 34 33 bool IsOne() const; 34 bool IsNormalTo(const Vector *normal) const; 35 35 36 36 void AddVector(const Vector *y); 37 37 void SubtractVector(const Vector *y); 38 38 void CopyVector(const Vector *y); 39 void CopyVector(const Vector y); 39 40 void RotateVector(const Vector *y, const double alpha); 40 41 void VectorProduct(const Vector *y); 41 42 void ProjectOntoPlane(const Vector *y); 43 void ProjectIt(const Vector *y); 44 Vector Projection(const Vector *y) const; 42 45 void Zero(); 43 46 void One(double one); … … 68 71 69 72 ostream & operator << (ostream& ost, const Vector &m); 73 bool operator==(const Vector& a, const Vector& b); 70 74 Vector& operator+=(Vector& a, const Vector& b); 71 75 Vector& operator-=(Vector& a, const Vector& b);
Note:
See TracChangeset
for help on using the changeset viewer.