54 template<
typename dtype>
65 for (
uint32 row = 0; row < numRows; ++row)
67 for (
uint32 col = 0; col < numCols; ++col)
69 returnArrayI(row, col) = inICoords[col];
74 for (
uint32 col = 0; col < numCols; ++col)
76 for (
uint32 row = 0; row < numRows; ++row)
78 returnArrayJ(row, col) = inJCoords[row];
82 return std::make_pair(returnArrayI, returnArrayJ);
99 template<
typename dtype>
102 return meshgrid(arange<dtype>(inSlice1), arange<dtype>(inSlice2));