The components can be recovered later with components.
Projection and inclusion maps for direct sums:
It sometimes happens that the user has indices for the components of a direct sum preferable to the usual consecutive small integers. In this case the preferred indices can be specified with code like directSum(a=>M,b=>N,...), as in the following example.
i1 : F = directSum(a=>ZZ^1, b=>ZZ^2, c=>ZZ^3) |
i2 : F_[b] |
i3 : F^[c] |
i4 : F = (a => ZZ^1) ++ (b => ZZ^2) |
i5 : F_[b] |
See also ++, components, indexComponents, and indices.