Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swapping Dimensions #8

Open
5 of 11 tasks
Tokazama opened this issue Mar 2, 2020 · 1 comment
Open
5 of 11 tasks

Swapping Dimensions #8

Tokazama opened this issue Mar 2, 2020 · 1 comment

Comments

@Tokazama
Copy link
Owner

Tokazama commented Mar 2, 2020

  • Finalize design:
    • permutedims
    • inv
    • cov/cor
      • dims= 1/2
      • Any other dimension gives a diagonal with NaNs. The solution right now uses the same method for diag (described below) but then uses that axis for the first and second axes of the returned matrix.
    • Matrix multiplication
    • diag: the current solution is equivalent to promoting both axes (promote(axes(m)...)) and returning the shortest one (kind of like the rank axis).
  • Document axis interface
  • Document customization with axes
  • Examples with AbstractAxisIndices

Most of these are very straightforward. I feel like the current solution for the deriving the axis that corresponds to the diagonal is pretty good but I'm not as set on it as the others.

@Tokazama
Copy link
Owner Author

Tokazama commented Mar 9, 2020

v0.2.0 consolidated inverse_axes into permute_axes. Doesn't change behavior just simplifies code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant