#include <iostream>
#include <dlrCommon/exception.h>
Go to the source code of this file.
Classes | |
class | dlr::numeric::Index2D |
The Index2D class represents a 2 dimensional index in (row, column) format, such as (0, 1), (23, 7), or (-4, 2). More... | |
Namespaces | |
namespace | dlr::numeric |
This namespace contains code for 1D, 2D, and 3D arrays, matrices, coordinate transformations, rotation conversions, and much more. | |
Functions | |
Index2D | dlr::numeric::operator+ (const Index2D &index0, const Index2D &index1) |
This operator returns the elementwise sum of two Index2D instances. | |
Index2D | dlr::numeric::operator- (const Index2D &index0, const Index2D &index1) |
This operator returns the elementwise difference of two Index2D instances. | |
Index2D | dlr::numeric::operator* (const Index2D &index0, const Index2D &index1) |
This operator returns the elementwise product of two Index2D instances. | |
Index2D | dlr::numeric::operator/ (const Index2D &index0, const Index2D &index1) |
This operator returns the elementwise dividend of two Index2D instances. | |
Index2D | dlr::numeric::operator+ (const Index2D &index0, int scalar0) |
This operator adds a scalar and an Index2D. | |
Index2D | dlr::numeric::operator- (const Index2D &index0, int scalar0) |
This operator subtracts a scalar from an Index2D. | |
Index2D | dlr::numeric::operator* (const Index2D &index0, int scalar0) |
This operator multiplies an Index2D by scalar. | |
Index2D | dlr::numeric::operator/ (const Index2D &index0, int scalar0) |
This operator divides an Index2D by scalar. | |
bool | dlr::numeric::operator== (const Index2D &index0, const Index2D &index1) |
This operator checks the supplied indexs for equality. | |
bool | dlr::numeric::operator!= (const Index2D &index0, const Index2D &index1) |
This operator checks the supplied indexs for inequality. | |
Index2D | dlr::numeric::operator+ (int scalar0, const Index2D &index0) |
This operator adds a scalar value to each element of an Index2D instance. | |
Index2D | dlr::numeric::operator* (int scalar0, const Index2D &index0) |
This operator multiplies a scalar value with each element of a Index2D instance. | |
std::ostream & | dlr::numeric::operator<< (std::ostream &stream, const Index2D &index0) |
This function outputs a text representation of an Index2D instance to a std::ostream. | |
std::istream & | dlr::numeric::operator>> (std::istream &stream, Index2D &index0) |
This function sets the value of an Index2D 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 index2D.h.