Add resize() and tests
This implements resize()
using existing kernels (just submatrix copy, and zeros()
). A suite of tests is added too, including testing the combination of resize()
with conv_to
. I'll let this sit for a couple days before merging in case there are any comments.