Open DejvBayer opened 1 month ago
Hello,
I will add an option to change configuration.normalize to support orthogonal normalization (need to be careful with the real transforms there). Another thing is as there are too many ways to scale the numbers, maybe just making full support for callbacks is a good idea?
Best regards, Dmitrii
Hi Dmitrii,
thanks for your response. The callbacks would definitely solve the problem with scaling. However I still have the feeling that when you want to do only the normalization, it would be much easier just to specify the forward/inverse scale or use the solution I proposed instead of studying and writing own callbacks. I don't mind writing callbacks myself, but I think there will be people having problems understanding them eventhough all they wanted was to run a normalized transformation.
I'm curious about your thoughts on this matter.
Thanks!
David
Hello,
This is a valid point, I will try to add this before the next release.
Best regards, Dmitrii
Perfect, thank you very much!
Hi,
I was wandering if it would be possible to extend the normalization options to include orthogonal normalization for both DFT and DTT. The behaviour should be like:
I would suggest adding an enum to specify the type of the normalization:
In the
VkFFTConfiguration
structure I would suggest either to change thenormalization
member datatype toVkFFTNormalize
datatype or just stick to the originalpfUINT
:Both of the solutions work without warnings. See the code example.
Thanks.
David