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