#include <Vector.hpp>
Public Member Functions | |
Vector () | |
Creates an empty Vector. | |
Vector (unsigned int size) | |
double | SquaredDistance (Vector const &v) const |
Calculates the Squared euklidian distance between this Vector and the supplied Vector v, ||this - v||^2. | |
double | Distance (Vector const &v) const |
Calculates the euklidian distance between this Vector and the supplied Vector v, ||this - v||. | |
Friends | |
Vector | operator- (Vector const &u, Vector const &v) |
Vector | operator+ (Vector const &u, Vector const &v) |
Vector | operator+= (Vector &u, Vector const &v) |
Vector | operator * (Vector const &u, double d) |
std::ostream & | operator<< (std::ostream &o, Vector const &v) |
|
Creates an empty Vector.
|
|
|
|
Calculates the Squared euklidian distance between this Vector and the supplied Vector v, ||this - v||^2.
|
|
Calculates the euklidian distance between this Vector and the supplied Vector v, ||this - v||.
|
|
|
|
|
|
|
|
|
|
|