64 if ( ( *f = (
PLFLT **) calloc( (
size_t) nx,
sizeof (
PLFLT * ) ) ) == NULL )
65 plexit(
"Memory allocation error in \"plAlloc2dGrid\"" );
67 for ( i = 0; i < nx; i++ )
69 if ( ( ( *f )[i] = (
PLFLT *) calloc( (
size_t) ny,
sizeof (
PLFLT ) ) ) == NULL )
70 plexit(
"Memory allocation error in \"plAlloc2dGrid\"" );
89 for ( i = 0; i < nx; i++ )
90 free( (
void *) f[i] );
123 for ( i = 0; i < nx; i++ )
125 for ( j = 0; j < ny; j++ )
void plexit(PLCHAR_VECTOR errormsg)
const PLFLT *const * PLFLT_MATRIX
void plFree2dGrid(PLFLT **f, PLINT nx, PLINT PL_UNUSED(ny))
void plAlloc2dGrid(PLFLT ***f, PLINT nx, PLINT ny)
void plMinMax2dGrid(PLFLT_MATRIX f, PLINT nx, PLINT ny, PLFLT *fnmax, PLFLT *fnmin)