EleFits
4.0.1
A modern C++ API on top of CFitsIO
|
◆ moveTo()
template<typename T , long n = 2>
Move the vector outside the raster. This method is used to take ownership on the data without copying it. The raster shape is untouched. Example usage: VecRaster<float> raster(...);
raster.moveTo(data);
// Values have been moved to data without copy.
// raster.vector() is empty now.
|