Open
Description
I was trying to follow the example with a codebase that uses not fft4r but only fft2r functions (which are showcased in this example, I understand). I was getting segfault errors and after gazillion checks in the documentation I realized that cplx2real documentation says that fft4r needs to be initialized. In the example may be ok because it is showcasing both, but in a regular scenario it is not ok.
Assuming that this is indeed the problem (my code started working once I changed to cplx2reC_fc32 function, but I have not validated the numerical aspect, so I may have more bugs, and I may have misunderstood the documentation once again), the example should use the proper function to showcase properly which functions to use in which scenarios.