index2D.h File Reference

Header file declaring Index2D class. More...

#include <iostream>
#include <dlrCommon/exception.h>

Include dependency graph for index2D.h:

This graph shows which files directly or indirectly include this file:

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.


Detailed Description

Header file declaring Index2D class.

Copyright (C) 2001-2007 David LaRose, dlr@cs.cmu.edu See accompanying file, LICENSE.TXT, for details.

Revision
706
Date
2006-08-04 19:41:11 -0400 (Fri, 04 Aug 2006)

Definition in file index2D.h.


Generated on Wed Nov 25 00:42:44 2009 for dlrUtilities Utility Library by  doxygen 1.5.8