Solving a Transformation Matrix



Hello,

I am to trying to learn Maxima and want to solve a transformation matrix
from the following eq:

Rdx = T.Rrl

Rdx and Rrl are defined like :

Rdx=matrix([sh*sp*sr+ch*cr,cp*sr,ch*sp*sr-cr*sh],[cr*sh*sp-ch*sr,cp*cr,sh*sr+ch*cr*sp],[cp*sh,-sp,ch*cp])


sh and sp are not defined.(I assume maxima will keep them symbols.)

I want to get T solved.

1. Is there a direct way of getting Maxima solve T ?

2. I thought I could also do

T = Rrl.Rdx_inverse

but

invert(Rdx) gives me the error:

`length' called on atomic symbol Rdx.

Could anybody explain me what this means ?

Thank you,

Dev.