by gerbenst · 4y ago · 0 comments
Here is an implementation. This should work with all types. Unfortunate I had to annotate with restrict, but a small price to pay.