Macaulay2 » Documentation
Packages » Macaulay2Doc :: tensor
next | previous | forward | backward | up | index | toc

tensor -- tensor product

Description

This function calculates the tensor product of a list or sequence of compatible objects.

This method is declared as a MethodFunctionBinary, so for two or more argument the product is computed iteratively from the binary tensor products, working from left to right. For two arguments, this is the same as A ** B except that options are allowed.

i1 : tensor(ZZ^2, ZZ^3, ZZ^4)

       24
o1 = ZZ

o1 : ZZ-module, free

See also

Ways to use tensor:

For the programmer

The object tensor is an associative binary method function.