support is useful because periodic boundary conditions are confusing, but support modifying the length of an array to communicate how many points are needed is stupid and fragile. You have to get it right, but it's always the same for a given degree. I think it's worthwhile to make computation functions allocation-free, so let's just make a separate function to communicate how many points you need to worry about.
supportis useful because periodic boundary conditions are confusing, butsupportmodifying the length of an array to communicate how many points are needed is stupid and fragile. You have to get it right, but it's always the same for a given degree. I think it's worthwhile to make computation functions allocation-free, so let's just make a separate function to communicate how many points you need to worry about.