EleFits  4.0.1
A modern C++ API on top of CFitsIO

◆ extend()

template<long n = 2>
template<long m>
Position<m> Euclid::Fits::Position< n >::extend ( const Position< m > &  padding) const
inline

Create a position of higher dimension.

Template Parameters
mThe new dimension; cannot be -1

The indices up to dimension n are copied. Those between dimensions n and m are taken from the given position.