Function lsst::meas::astrom::detail::computePackedOffset

Function Documentation

int lsst::meas::astrom::detail::computePackedOffset(int order)

Compute the index of the first coefficient with the given order in a packed 2-d polynomial coefficient array.

This defines the ordering as

[(0,0), (0,1), (1,0), (0,2), (1,1), (2,0), ...]
(or the same with indices swapped).