Go to the documentation of this file.
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++ )