Template Function lsst::afw::fits::makeContiguousArray

Function Documentation

template<typename T, int N, int C>
ndarray::Array<T const, N, N> const lsst::afw::fits::makeContiguousArray(ndarray::Array<T, N, C> const &array)

Construct a contiguous ndarray

A deep copy is only performed if the array is not already contiguous.