#include <iostream>
#include <dlrCommon/exception.h>
Go to the source code of this file.
Classes | |
class | dlr::numeric::Vector2D |
The Vector2D class represents a real valued 2D vector. More... | |
Namespaces | |
namespace | dlr::numeric |
This namespace contains code for 1D, 2D, and 3D arrays, matrices, coordinate transformations, rotation conversions, and much more. | |
Functions | |
Vector2D | dlr::numeric::operator+ (const Vector2D &vector0, const Vector2D &vector1) |
This operator returns the elementwise sum of two Vector2D instances. | |
Vector2D | dlr::numeric::operator- (const Vector2D &vector0, const Vector2D &vector1) |
This operator returns the elementwise difference of two Vector2D instances. | |
Vector2D | dlr::numeric::operator* (const Vector2D &vector0, const Vector2D &vector1) |
This operator returns the elementwise product of two Vector2D instances. | |
Vector2D | dlr::numeric::operator/ (const Vector2D &vector0, const Vector2D &vector1) |
This operator returns the elementwise dividend of two Vector2D instances. | |
Vector2D | dlr::numeric::operator+ (const Vector2D &vector0, double scalar0) |
This operator adds a scalar and a Vector2D. | |
Vector2D | dlr::numeric::operator- (const Vector2D &vector0, double scalar0) |
This operator subtracts a scalar from a Vector2D. | |
Vector2D | dlr::numeric::operator* (const Vector2D &vector0, double scalar0) |
This operator multiplies a Vector2D by scalar. | |
Vector2D | dlr::numeric::operator/ (const Vector2D &vector0, double scalar0) |
This operator divides a Vector2D by scalar. | |
bool | dlr::numeric::operator== (const Vector2D &vector0, const Vector2D &vector1) |
This operator checks the supplied vectors for equality. | |
bool | dlr::numeric::operator!= (const Vector2D &vector0, const Vector2D &vector1) |
This operator checks the supplied vectors for inequality. | |
Vector2D | dlr::numeric::operator+ (double scalar0, const Vector2D &vector0) |
This operator adds a scalar value to each element of a Vector2D instance. | |
Vector2D | dlr::numeric::operator* (double scalar0, const Vector2D &vector0) |
This operator multiplies a scalar value with each element of a Vector2D instance. | |
std::ostream & | dlr::numeric::operator<< (std::ostream &stream, const Vector2D &vector0) |
This function outputs a text representation of a Vector2D instance to a std::ostream. | |
std::istream & | dlr::numeric::operator>> (std::istream &stream, Vector2D &vector0) |
This function sets the value of a Vector2D instance from a std::istream. |
Copyright (C) 2001-2007 David LaRose, dlr@cs.cmu.edu See accompanying file, LICENSE.TXT, for details.
Definition in file vector2D.h.