QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <fdmlinearoplayout.hpp>
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< Size > | dim_ |
std::vector< Size > | spacing_ |
Definition at line 34 of file fdmlinearoplayout.hpp.
|
explicit |
Definition at line 36 of file fdmlinearoplayout.hpp.
FdmLinearOpIterator begin | ( | ) | const |
Definition at line 45 of file fdmlinearoplayout.hpp.
FdmLinearOpIterator end | ( | ) | const |
Definition at line 49 of file fdmlinearoplayout.hpp.
const std::vector< Size > & dim | ( | ) | const |
Definition at line 53 of file fdmlinearoplayout.hpp.
const std::vector< Size > & spacing | ( | ) | const |
Size size | ( | ) | const |
Definition at line 61 of file fdmlinearoplayout.hpp.
Size neighbourhood | ( | const FdmLinearOpIterator & | iterator, |
Size | i, | ||
Integer | offset | ||
) | const |
FdmLinearOpIterator iter_neighbourhood | ( | const FdmLinearOpIterator & | iterator, |
Size | i, | ||
Integer | offset | ||
) | const |
|
private |
Definition at line 83 of file fdmlinearoplayout.hpp.
|
private |
Definition at line 84 of file fdmlinearoplayout.hpp.
|
private |
Definition at line 84 of file fdmlinearoplayout.hpp.