Matrix Example
fricas
(1) -> m1 := matrix([ [1, x/y, 0], [0, 1, 0], [0, 0, 1] ])
Type: Matrix(Fraction(Polynomial(Integer)))
fricas
m2 := matrix([ [1, 0, 0], [0, 1, y/x], [0, 0, 1] ])
Type: Matrix(Fraction(Polynomial(Integer)))
fricas
m3 := matrix([ [-1/y, 0, 0], [0, y/(x*z), 0], [0, 0, x/(x*y-z*y)] ])
Type: Matrix(Fraction(Polynomial(Integer)))
fricas
m4 := matrix([ [1, 0, 0], [0, 1, 0], [0, y/x, 1] ])
Type: Matrix(Fraction(Polynomial(Integer)))
fricas
m5 := matrix([ [1, 0, 0], [z/y, 1, 0], [0, 0, 1] ])
Type: Matrix(Fraction(Polynomial(Integer)))
fricas
m6 := matrix([ [0, 0, 1], [0, 1, 0], [1, 0, 0] ])
Type: Matrix(NonNegativeInteger
?)
fricas
T := m1*m2*m3*m4*m5*m6
Type: Matrix(Fraction(Polynomial(Integer)))
fricas
M := matrix([ [0, -z, y], [z, 0, -x], [-y, x, 0] ])
Type: Matrix(Polynomial(Integer))
fricas
R := matrix([ [r, 0, 0], [0, r, 0], [0, 0, r] ])
Type: Matrix(Polynomial(Integer))
fricas
T - R
Type: Matrix(Fraction(Polynomial(Integer)))
fricas
determinant(%)
Type: Fraction(Polynomial(Integer))
fricas
T * vector([bx, by, bc])
Type: Vector(Fraction(Polynomial(Integer)))
fricas
R := matrix([ [cos(t), -sin(t), 0], [sin(t), cos(t), 0], [0,0,1] ])
Type: Matrix(Expression(Integer))
fricas
T := transpose(R)
Type: Matrix(Expression(Integer))
fricas
e11 := matrix( [ [1,0,0], [0,0,0], [0,0,0] ] )
Type: Matrix(NonNegativeInteger
?)
fricas
e12 := matrix( [ [0,1,0], [0,0,0], [0,0,0] ] )
Type: Matrix(NonNegativeInteger
?)
fricas
e13 := matrix( [ [0,0,1], [0,0,0], [0,0,0] ] )
Type: Matrix(NonNegativeInteger
?)
fricas
e21 := matrix( [ [0,0,0], [1,0,0], [0,0,0] ] )
Type: Matrix(NonNegativeInteger
?)
fricas
e22 := matrix( [ [0,0,0], [0,1,0], [0,0,0] ] )
Type: Matrix(NonNegativeInteger
?)
fricas
e23 := matrix( [ [0,0,0], [0,0,1], [0,0,0] ] )
Type: Matrix(NonNegativeInteger
?)
fricas
e31 := matrix( [ [0,0,0], [0,0,0], [1,0,0] ] )
Type: Matrix(NonNegativeInteger
?)
fricas
e32 := matrix( [ [0,0,0], [0,0,0], [0,1,0] ] )
Type: Matrix(NonNegativeInteger
?)
fricas
e33 := matrix( [ [0,0,0], [0,0,0], [0,0,1] ] )
Type: Matrix(NonNegativeInteger
?)
fricas
T*e11*R
Type: Matrix(Expression(Integer))
fricas
T*e12*R
Type: Matrix(Expression(Integer))
fricas
T*e13*R
Type: Matrix(Expression(Integer))
fricas
T*e21*R
Type: Matrix(Expression(Integer))
fricas
T*e22*R
Type: Matrix(Expression(Integer))
fricas
T*e23*R
Type: Matrix(Expression(Integer))
fricas
T*e31*R
Type: Matrix(Expression(Integer))
fricas
T*e32*R
Type: Matrix(Expression(Integer))
fricas
T*e33*R
Type: Matrix(Expression(Integer))