MinlocDim(const DAD* val, const DAD* pos, const DAD* src, const int dim)The source array is described by the DAD *src and the array of minimum values is described by the DAD *val. They will both have elements of type T. The array of minimum locations is described by the DAD *pos. The search occurs in dimension dim.