EleFits  5.0.0
A modern C++ API on top of CFITSIO

◆ operator()()

const T & operator() ( long  row,
long  repeat = 0 
) const

Access the value at given row and repeat indices.

Parameters
rowThe row index
repeatThe repeat index

Several methods are available to access elements:

  • data() returns a pointer to the first element;
  • operator()() gives access to the element at given row and repeat indices;
  • at() additionally perform bound checking and allows for backward (negative) indexing.