[GAP Forum] how to do matrix multiplication of polynomial for input as ideal after load singular package

Lee Martin CCNP tesleft at hotmail.com
Wed Sep 24 11:12:31 BST 2014


Hi,
LoadPackage("singular");onelist := Tuples([0,1,0,1,0,1],3);onelist2 := [];Append( onelist2, onelist );Append( onelist2, onelist );Append( onelist2, onelist );matrixlist := Tuples(onelist2,3);
R1:= PolynomialRing( Rationals, ["x","y","z"] : new );;x:=IndeterminatesOfPolynomialRing(R1)[1];y:=IndeterminatesOfPolynomialRing(R1)[2];z:=IndeterminatesOfPolynomialRing(R1)[3];
hello:=Matrix([[x,y,z]])*Matrix(matrixlist[1]);  <- got error at here
Regards,
Martin 		 	   		  


More information about the Forum mailing list