xtensor-stack / xtensor-blas

BLAS extension to xtensor
BSD 3-Clause "New" or "Revised" License
158 stars 55 forks source link

Fix norm interface to match xtensor #39

Open wolfv opened 7 years ago

wolfv commented 7 years ago

As per https://github.com/QuantStack/xtensor/issues/417

wolfv commented 7 years ago

This might require some discussion.

Should we specialize the norms for certain types so that they are handled by BLAS vs. xtensor? Or should blas norms just live in the linalg namespace while the xtensor norms are in the xt namespace?

Also, should we extend the norms in xtensor-blas to take the axis parameter? Norms in xtensor-blas would also be greedy by default ...