LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
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++ () |
int const | getOrder () const |
int const | getX () const |
int const | getY () const |
int const | getIndex () const |
PackedIndex () | |
PackedIndex (int const x, int const y) | |
Static Public Member Functions | |
static int const | computeOffset (int order) |
static int const | 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.