plMinMax2dGrid: Find the minimum and maximum of a PLFLT matrix of type PLFLT_MATRIX allocated using plAlloc2dGrid

plMinMax2dGrid (f,
 nx,
 ny,
 fmax,
 fmin);
 

Find the minimum and maximum of a PLFLT matrix of type PLFLT_MATRIX allocated using plAlloc2dGrid.

f (PLFLT_MATRIX, input)

A matrix to find the maximum / minimum of.

nx, ny (PLINT, input)

Dimensions of f.

fmax, fmin (PLFLT_NC_SCALAR, output)

Returned maximum and minimum values of the matrix f.

This function is used in C examples 8, 11, 20 and 21.