flatironinstitute / finufft

Non-uniform fast Fourier transform library of types 1,2,3 in dimensions 1,2,3
Other
303 stars 79 forks source link

potential way of implementing discussion #587 #592

Open mreineck opened 6 days ago

mreineck commented 6 days ago

This demonstrates how variables depending on problem dimensionality could be merged into std::arrays, and how it potentially simplifies the code.

This is not yet complete:

ahbarnett commented 5 days ago

THanks Martin, THis is a good idea, in the category "incremental simplifications that do not affect performance", right? Personally, since index arithmetic can product <0 integers, I would switch everything to BIGINT in spreadinterp, if this allows. I'm sure we could bring this in, esp, if it's needed for other simplifications.