Struct fft2d_state_t¶
#include <fft2d_core.h>
Public Attributes¶
| Type | Name |
|---|---|
| size_t | nx |
| size_t | ny |
| pocketfft_plan * | plan_f32 |
| pocketfft_plan * | plan_f64 |
| int | sign |
| double _Complex * | work_trunc |
Public Attributes Documentation¶
variable nx¶
Column count.
variable ny¶
Row count.
variable plan_f32¶
CF32 2-D plan.
variable plan_f64¶
CF64 2-D plan.
variable sign¶
-1 forward, +1 inverse.
variable work_trunc¶
Scratch for a short out. A pocketfft 2-D plan is fixed at ny*nx and writes the whole surface, so it cannot be pointed at a smaller buffer; a truncating call transforms here and copies the prefix. Sized for the widest element (CF64) so one buffer serves both plans, and allocated lazily max_out is ny*nx on every sized call, which is everything the Python binding does.
The documentation for this class was generated from the following file native/inc/fft2d/fft2d_core.h