# tensorWithComponents -- forms the tensor product, preserving direct sum information

## Synopsis

• Usage:
T = tensor(M,N)
• Inputs:
• M, ,
• N, ,
• Outputs:
• T, ,

## Description

If M and/or N are direct sum modules (isDirectSum M == true) then T is the direct sum of the tensor products between the components. This SHOULD be built into M**N, but isn't as of M2, v. 1.7