-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
In matricized contract, I think we should determine a common FusionStyle for the arrays involved in the operation and then pass that along in the matricize and unmatricize calls:
TensorAlgebra.jl/src/contract/contract_matricize/contract.jl
Lines 15 to 19 in 6d2a13d
| a_dest_mat = matricize(a_dest, biperm_dest) | |
| a1_mat = matricize(a1, biperm1) | |
| a2_mat = matricize(a2, biperm2) | |
| mul!(a_dest_mat, a1_mat, a2_mat, α, β) | |
| unmatricize!(a_dest, a_dest_mat, biperm_dest) |
FusionStyle would help with making sure the matriciziation and unmatrcization is done in a consistent way so the bases are compatible.Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request