QuantLib_LexicographicalView man page

LexicographicalView< RandomAccessIterator > — Lexicographical 2-D view of a contiguous set of data.

Synopsis

#include <ql/math/lexicographicalview.hpp>

Public Types

typedef RandomAccessIterator x_iterator
iterates over $ v_{ij} $ with $ j $ fixed.
typedef boost::reverse_iterator< RandomAccessIterator > reverse_x_iterator
iterates backwards over $ v_{ij} $ with $ j $ fixed.
typedef step_iterator< RandomAccessIterator > y_iterator
iterates over $ v_{ij} $ with $ i $ fixed.
typedef boost::reverse_iterator< y_iterator > reverse_y_iterator
iterates backwards over $ v_{ij} $ with $ i $ fixed.

Public Member Functions

LexicographicalView (const RandomAccessIterator &begin, const RandomAccessIterator &end, Size xSize)
attaches the view with the given dimension to a sequence

Element access

y_iterator operator[] (Size i)

Iterator access

x_iterator xbegin (Size j)

x_iterator xend (Size j)

reverse_x_iterator rxbegin (Size j)

reverse_x_iterator rxend (Size j)

y_iterator ybegin (Size i)

y_iterator yend (Size i)

reverse_y_iterator rybegin (Size i)

reverse_y_iterator ryend (Size i)

Inspectors

Size xSize () const
dimension of the array along x
Size ySize () const
dimension of the array along y

Detailed Description

template<class RandomAccessIterator>

class QuantLib::LexicographicalView< RandomAccessIterator >" Lexicographical 2-D view of a contiguous set of data.

This view can be used to easily store a discretized 2-D function in an array to be used in a finite differences calculation.

Author

Generated automatically by Doxygen for QuantLib from the source code.

Referenced By

LexicographicalView(3), reverse_x_iterator(3), reverse_y_iterator(3), rxbegin(3), rxend(3), rybegin(3), ryend(3), xbegin(3), xend(3), x_iterator(3), xSize(3), ybegin(3), yend(3), y_iterator(3) and ySize(3) are aliases of QuantLib_LexicographicalView(3).

Fri Sep 23 2016 Version 1.8.1 QuantLib