Macaulay2 » Documentation
Packages » CompleteIntersectionResolutions :: tensorWithComponents
next | previous | forward | backward | up | index | toc

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

- Usage:
    `T = tensor(M,N)`
- Inputs:
  - M, a module,
  - N, a module,
- Outputs:
  - T, a module,

## 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

## See also

- HomWithComponents -- computes Hom, preserving direct sum information
- dualWithComponents -- dual module preserving direct sum information

## Ways to use tensorWithComponents:

- `tensorWithComponents(Module,Module)`

## For the programmer

The object tensorWithComponents is a method function.

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/CompleteIntersectionResolutions.m2:2667:0.