-
-
Notifications
You must be signed in to change notification settings - Fork 39
Closed
Description
Here I have two matrices with names (y1, u1) and (y2, u2). When multiplying them, it appears as if the names in the result are chosen based on the second argument only, but I expected to get (y1, u2) when multiplying (y1, u1) * (y2, u2). Maybe my understanding is incorrect?
julia> s1.D
1×1 ComponentMatrix{Int64} with axes Axis(y1 = 1,) × Axis(u1 = 1,)
1
julia> s2.D
1×1 ComponentMatrix{Int64} with axes Axis(y2 = 1,) × Axis(u2 = 1,)
1
julia> s1.D*s2.D
1×1 ComponentMatrix{Int64} with axes Axis(y2 = 1,) × Axis(u2 = 1,)
1
julia> s2.D*s1.D
1×1 ComponentMatrix{Int64} with axes Axis(y1 = 1,) × Axis(u1 = 1,)
1Metadata
Metadata
Assignees
Labels
No labels