![[next]](next.gif)
![[previous]](previous.gif)
![[up]](up.gif)
![[top]](top.gif)
Synopsis:
f ** g -- computes the tensor product of two matrices.
See also:
Code:
-- ../../../Macaulay2/m2/matrix1.m2:412-419
Matrix ** Matrix := Matrix => (f,g) -> (
R := ring target f;
if ring target g =!= R
or ring source g =!= ring source f
then error "expected matrices over the same ring";
sendgg (ggPush f, ggPush g, ggtensor);
h := getMatrix R;
map(target f ** target g, source f ** source g, h, Degree => degree f + degree g))
![[next]](next.gif)
![[previous]](previous.gif)
![[up]](up.gif)
![[top]](top.gif)