next up previous contents [pdf] index

Next: Call Up: Convenience allocation programs (alloc.c) Previous: Output


Allocates a 2D array in the memory for the float type. It works just like [sec:sf_floatalloc]sf_floatalloc but does it for two dimensions. This is done by making a pointer point to another pointer, which in turn points to a particular column (or row) of an allocated 2D block of memory of size n1*n2. n1 is the fastest dimension.