EleFits  5.3.0
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches

◆ 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.