subArray2D.h File Reference

Header file declaring SubArray2D class. More...

#include <dlrNumeric/array2D.h>
#include <dlrNumeric/slice.h>
#include <cmath>
#include <dlrCommon/stridedPointer.h>

Include dependency graph for subArray2D.h:

Go to the source code of this file.


Classes

class  dlr::numeric::SubArray2D< Type >
 Header file defining a simple SubArray class to work with Array2D.h The goal here is simplicity. More...

Namespaces

namespace  dlr::numeric
 This namespace contains code for 1D, 2D, and 3D arrays, matrices, coordinate transformations, rotation conversions, and much more.

Functions

template<class Type >
SubArray2D< Type > dlr::numeric::subArray (const Array2D< Type > &source)
 This is a convenience function for constructing SubArray2D instances which reference every element of the source array.
template<class Type >
SubArray2D< Type > dlr::numeric::subArray (const Array2D< Type > &source, const Slice &rowSlice, const Slice &columnSlice)
 This is a convenience function for constructing SubArray2D instances which reference only selected elements of the source array.
template<class Type >
SubArray2D< Type > dlr::numeric::subArray (const Array2D< Type > &source, const int row, const Slice &columnSlice)
 This function is just like subArray(const Array2D<Type>&, const Slice&, const Slice&), above except that it constructs a SubArray2D instance which references only selected elements _of a particular row_ in the source array.
template<class Type >
SubArray2D< Type > dlr::numeric::subArray (const Array2D< Type > &source, const Slice &rowSlice, int column)
 This function is just like subArray(const Array2D<Type>&, const Slice&, const Slice&), above except that it constructs a SubArray2D instance which references only selected elements _of a particular column_ in the source array.
template<class Type >
std::ostream & dlr::numeric::operator<< (std::ostream &stream, const SubArray2D< Type > &subArray0)
 This stream output operator sends a text representation of the SubArray2D instance to the supplied stream instance.


Detailed Description

Header file declaring SubArray2D class.

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

Revision
975
Date
2007-12-30 01:57:17 -0500 (Sun, 30 Dec 2007)

Definition in file subArray2D.h.


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