![]() QuantLib 0.3.3User manualIntroduction to QuantLibQuantLib componentsReference manual |
LexicographicalView Class Template Reference#include <lexicographicalview.hpp>
Detailed Descriptiontemplate<class RandomAccessIterator>
Lexicographical 2-D view of a contiguous set of data.
|
Public Types | |
typedef RandomAccessIterator | x_iterator |
iterates over ![]() ![]() | |
typedef Utilities::stepping_iterator< RandomAccessIterator > | y_iterator |
iterates over ![]() ![]() | |
Public Member Functions | |
LexicographicalView (const RandomAccessIterator &begin, const RandomAccessIterator &end, int xSize) | |
attaches the view with the given dimension to a sequence | |
typedef | QL_REVERSE_ITERATOR (RandomAccessIterator, typename 1< RandomAccessIterator >::value_type) reverse_x_iterator |
iterates backwards over ![]() ![]() | |
typedef | QL_REVERSE_ITERATOR (y_iterator, typename 1< RandomAccessIterator >::value_type) reverse_y_iterator |
iterates backwards over ![]() ![]() | |
Element access | |
y_iterator | operator[] (int i) |
Iterator access | |
x_iterator | xbegin (int j) |
x_iterator | xend (int j) |
reverse_x_iterator | rxbegin (int j) |
reverse_x_iterator | rxend (int j) |
y_iterator | ybegin (int i) |
y_iterator | yend (int i) |
reverse_y_iterator | rybegin (int i) |
reverse_y_iterator | ryend (int i) |
Inspectors | |
int | xSize () const |
dimension of the array along x | |
int | ySize () const |
dimension of the array along y |
QuantLib.org![]() |
Hosted by![]() |
Documentation generated by![]() |