-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Add the syntax TensorAlgebra.svd(a, (1,), (2, 3))
and/or TensorAlgebra.svd(a, ((1,), (2, 3)))
. Currently TensorAlgebra.svd(a, permmortar(((1,), (2, 3))))
and TensorAlgebra.svd(a, ("i", "j", "k"), ("i",), ("j", "k"))
are supported.
I think I had held off introducing this syntax to wait and see what other syntax we might want and avoid introducing syntax that could lead to ambiguities (say syntax where it is ambiguous whether the input should be interpreted as a permutation or as labels). I think we could have a convention that 1 or 2 arguments after the array input should be processed as a biperm, similar to the syntax matricize(a, (1, 2), (3, 4))
.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request