next up previous contents [pdf] index

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


sf_complexalloc2

Allocates a 2D array in the memory for the sf_complex type. It works just like [sec:sf_complexalloc]sf_complexalloc 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.



Subsections


2011-07-02