53 template<
typename dtype>
64 for (
uint32 row = 0; row < numRows; ++row)
66 for (
uint32 col = 0; col < numCols; ++col)
68 returnArrayI(row, col) = inICoords[col];
73 for (
uint32 col = 0; col < numCols; ++col)
75 for (
uint32 row = 0; row < numRows; ++row)
77 returnArrayJ(row, col) = inJCoords[row];
81 return std::make_pair(returnArrayI, returnArrayJ);
98 template<
typename dtype>
101 return meshgrid(arange<dtype>(inSlice1), arange<dtype>(inSlice2));