We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
a["i" => 1, ..]
Support EllipsisNotation.jl indexing with ..:
..
using NamedDimsArrays a = nameddims(randn(4, 4, 4), ("i", "j", "k")) a["i" => 1, ..] # Equivalent to `a["i" => 1, "j" => :, "k" => :]` a[.., "i" => 1] # Same thing, order doesn't matter
That would be very convenient notation for truncated tensor SVD, which would become:
u, s, v = svd(a, ("i",)) α = only(intersect(dimnames(u), dimnames(s))) r = 1:3 u[α => r, ..], s[α => r, α => r], v[α => r, ..]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Support EllipsisNotation.jl indexing with
..
:That would be very convenient notation for truncated tensor SVD, which would become:
The text was updated successfully, but these errors were encountered: