xtensor
xtensor copied to clipboard
`xt::pad`: more algorithms & recursion
To make xt::pad more general and more compliant with NumPy, the xtensor implementation should be extended with:
- More (all) algorithms that NumPy features.
- Recursively call of
padif thepad_widthalong an axis>= e.shape()[axis](only for algorithms:periodic,symmetric, [extend with future additions]).
See implementation of xt::tile to make xt::pad recursive (where possible).