package("polmat")

math

 

The equation of AXBYC type will be solved.

A:=polmat([[1, d, d^2],[0, d, d]], d)

math

 

B:=polmat([[1+d, 0],[0, 1+d]], d)

math

 

C:=polmat([1+d+d^2, 1+d], d)

math

 

[X, Y]:=polmat::axbyc(A, B, C, d)

math

 

A*X+B*Y-C

math