QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
FdmLinearOpIterator Class Reference

#include <fdmlinearopiterator.hpp>

+ Collaboration diagram for FdmLinearOpIterator:

Public Member Functions

 FdmLinearOpIterator (Size index=0)
 
 FdmLinearOpIterator (std::vector< Size > dim)
 
 FdmLinearOpIterator (std::vector< Size > dim, std::vector< Size > coordinates, Size index)
 
void operator++ ()
 
const FdmLinearOpIteratoroperator* () const
 
bool operator!= (const FdmLinearOpIterator &iterator) const
 
Size index () const
 
const std::vector< Size > & coordinates () const
 
void swap (FdmLinearOpIterator &iter) noexcept
 

Private Attributes

Size index_
 
std::vector< Sizedim_
 
std::vector< Sizecoordinates_
 

Detailed Description

Definition at line 36 of file fdmlinearopiterator.hpp.

Constructor & Destructor Documentation

◆ FdmLinearOpIterator() [1/3]

FdmLinearOpIterator ( Size  index = 0)
explicit

Definition at line 38 of file fdmlinearopiterator.hpp.

◆ FdmLinearOpIterator() [2/3]

FdmLinearOpIterator ( std::vector< Size dim)
explicit

Definition at line 41 of file fdmlinearopiterator.hpp.

◆ FdmLinearOpIterator() [3/3]

FdmLinearOpIterator ( std::vector< Size dim,
std::vector< Size coordinates,
Size  index 
)

Definition at line 46 of file fdmlinearopiterator.hpp.

Member Function Documentation

◆ operator++()

void operator++ ( )

Definition at line 49 of file fdmlinearopiterator.hpp.

◆ operator*()

const FdmLinearOpIterator & operator* ( ) const

Definition at line 62 of file fdmlinearopiterator.hpp.

◆ operator!=()

bool operator!= ( const FdmLinearOpIterator iterator) const

Definition at line 66 of file fdmlinearopiterator.hpp.

◆ index()

Size index ( ) const

Definition at line 70 of file fdmlinearopiterator.hpp.

+ Here is the caller graph for this function:

◆ coordinates()

const std::vector< Size > & coordinates ( ) const

Definition at line 74 of file fdmlinearopiterator.hpp.

+ Here is the caller graph for this function:

◆ swap()

void swap ( FdmLinearOpIterator iter)
noexcept

Definition at line 78 of file fdmlinearopiterator.hpp.

Member Data Documentation

◆ index_

Size index_
private

Definition at line 85 of file fdmlinearopiterator.hpp.

◆ dim_

std::vector<Size> dim_
private

Definition at line 86 of file fdmlinearopiterator.hpp.

◆ coordinates_

std::vector<Size> coordinates_
private

Definition at line 87 of file fdmlinearopiterator.hpp.