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
FdmLinearOpLayout Class Reference

#include <fdmlinearoplayout.hpp>

+ Collaboration diagram for FdmLinearOpLayout:

Public Member Functions

 FdmLinearOpLayout (std::vector< Size > dim)
 
FdmLinearOpIterator begin () const
 
FdmLinearOpIterator end () const
 
const std::vector< Size > & dim () const
 
const std::vector< Size > & spacing () const
 
Size size () const
 
Size index (const std::vector< Size > &coordinates) const
 
Size neighbourhood (const FdmLinearOpIterator &iterator, Size i, Integer offset) const
 
Size neighbourhood (const FdmLinearOpIterator &iterator, Size i1, Integer offset1, Size i2, Integer offset2) const
 
FdmLinearOpIterator iter_neighbourhood (const FdmLinearOpIterator &iterator, Size i, Integer offset) const
 

Private Attributes

Size size_
 
std::vector< Sizedim_
 
std::vector< Sizespacing_
 

Detailed Description

Definition at line 34 of file fdmlinearoplayout.hpp.

Constructor & Destructor Documentation

◆ FdmLinearOpLayout()

FdmLinearOpLayout ( std::vector< Size dim)
explicit

Definition at line 36 of file fdmlinearoplayout.hpp.

Member Function Documentation

◆ begin()

FdmLinearOpIterator begin ( ) const

Definition at line 45 of file fdmlinearoplayout.hpp.

◆ end()

FdmLinearOpIterator end ( ) const

Definition at line 49 of file fdmlinearoplayout.hpp.

◆ dim()

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

Definition at line 53 of file fdmlinearoplayout.hpp.

◆ spacing()

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

Definition at line 57 of file fdmlinearoplayout.hpp.

+ Here is the caller graph for this function:

◆ size()

Size size ( ) const

Definition at line 61 of file fdmlinearoplayout.hpp.

◆ index()

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

Definition at line 65 of file fdmlinearoplayout.hpp.

+ Here is the caller graph for this function:

◆ neighbourhood() [1/2]

Size neighbourhood ( const FdmLinearOpIterator iterator,
Size  i,
Integer  offset 
) const

Definition at line 26 of file fdmlinearoplayout.cpp.

+ Here is the call graph for this function:

◆ neighbourhood() [2/2]

Size neighbourhood ( const FdmLinearOpIterator iterator,
Size  i1,
Integer  offset1,
Size  i2,
Integer  offset2 
) const

Definition at line 41 of file fdmlinearoplayout.cpp.

+ Here is the call graph for this function:

◆ iter_neighbourhood()

FdmLinearOpIterator iter_neighbourhood ( const FdmLinearOpIterator iterator,
Size  i,
Integer  offset 
) const

Definition at line 69 of file fdmlinearoplayout.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ size_

Size size_
private

Definition at line 83 of file fdmlinearoplayout.hpp.

◆ dim_

std::vector<Size> dim_
private

Definition at line 84 of file fdmlinearoplayout.hpp.

◆ spacing_

std::vector<Size> spacing_
private

Definition at line 84 of file fdmlinearoplayout.hpp.