next up previous contents [pdf] index

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


Allocates a 4D array in the memory for the float type. It works just like [sec:sf_floatalloc2]sf_floatalloc2 but does it for four dimensions. This is done by extending the same argument as for sf_floatalloc2 but this time making a pointer such that Pointer3 -> Pointer2 -> Pointer1 -> Pointer. n1 is the fastest dimension.