#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.
Namespaces | |
| namespace | dlr |
| namespace | dlr::numeric |
Classes | |
| class | dlr::numeric::SubArray2D< Type > |
| Header file defining a simple SubArray class to work with Array2D.h The goal here is simplicity. 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. | |
Copyright (C) 2001-2007 David LaRose, dlr@cs.cmu.edu See accompanying file, LICENSE.TXT, for details.
Definition in file subArray2D.h.
1.5.2