An iterator-like object to help in traversing "packed" shapelet or Hermite polynomial matrix or vector dimensions.
More...
#include <GaussHermiteEvaluator.h>
An iterator-like object to help in traversing "packed" shapelet or Hermite polynomial matrix or vector dimensions.
A pair of indices (x,y) is mapped to the packed position i = (x+y)(x+y+1)/2 + x.
Typical usage is in a nested loop of the form:
}
An iterator-like object to help in traversing "packed" shapelet or Hermite polynomial matrix or vecto...
int const getOrder() const
Definition at line 48 of file GaussHermiteEvaluator.h.
◆ PackedIndex() [1/2]
lsst::shapelet::PackedIndex::PackedIndex |
( |
| ) |
|
|
inline |
◆ PackedIndex() [2/2]
lsst::shapelet::PackedIndex::PackedIndex |
( |
int const | x, |
|
|
int const | y ) |
|
inline |
◆ computeIndex()
static int const lsst::shapelet::PackedIndex::computeIndex |
( |
int | x, |
|
|
int | y ) |
|
inlinestatic |
◆ computeOffset()
static int const lsst::shapelet::PackedIndex::computeOffset |
( |
int | order | ) |
|
|
inlinestatic |
◆ getIndex()
int const lsst::shapelet::PackedIndex::getIndex |
( |
| ) |
const |
|
inline |
◆ getOrder()
int const lsst::shapelet::PackedIndex::getOrder |
( |
| ) |
const |
|
inline |
◆ getX()
int const lsst::shapelet::PackedIndex::getX |
( |
| ) |
const |
|
inline |
◆ getY()
int const lsst::shapelet::PackedIndex::getY |
( |
| ) |
const |
|
inline |
◆ operator++()
PackedIndex & lsst::shapelet::PackedIndex::operator++ |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: