lsst.shapelet
tickets.DM-23835-g1eb20aa80b
|
An iterator-like object to help in traversing "packed" shapelet or Hermite polynomial matrix or vector dimensions. More...
#include <GaussHermiteEvaluator.h>
Public Member Functions | |
PackedIndex & | operator++ () |
const int | getOrder () const |
const int | getX () const |
const int | getY () const |
const int | getIndex () const |
PackedIndex () | |
PackedIndex (int const x, int const y) | |
Static Public Member Functions | |
static const int | computeOffset (int order) |
static const int | computeIndex (int x, int y) |
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:
Definition at line 48 of file GaussHermiteEvaluator.h.
|
inline |
Definition at line 71 of file GaussHermiteEvaluator.h.
|
inline |
Definition at line 72 of file GaussHermiteEvaluator.h.
|
inlinestatic |
Definition at line 52 of file GaussHermiteEvaluator.h.
|
inlinestatic |
Definition at line 51 of file GaussHermiteEvaluator.h.
|
inline |
Definition at line 69 of file GaussHermiteEvaluator.h.
|
inline |
Definition at line 65 of file GaussHermiteEvaluator.h.
|
inline |
Definition at line 66 of file GaussHermiteEvaluator.h.
|
inline |
Definition at line 67 of file GaussHermiteEvaluator.h.
|
inline |
Definition at line 54 of file GaussHermiteEvaluator.h.