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