Yes, t_compose actually just makes a list of transformations and applies them in order. From the docs:
"It combines multiple compositions into a single list of transforms to be executed in order, fram last to first (in keeping with standard mathematical notation)." This makes sense, since transformations don't necessarily have to be linear. But for efficiency, I did write up that t_compose_linear function, which works only with linear transforms, obviously. I think maybe I never dealt with inverse transforms, though, so be careful with it. But it should be a good starting place, if you really need the composed linear transformation matrix. Feel free to email with problems. -roban On Fri, Jun 27, 2008 at 11:13 AM, Sina Türeli <[EMAIL PROTECTED]> wrote: > Does the multplication x on two opeartors find the new operator formed by > multplying the two matrices representing those two operators or does it just > put them side by side and apply two matrices one after the other when the > new operator is called? > > I am asking it because when I ask to print an operator that is obtained by > multiplying two other operators it doesnt print matrix belonging to it but > it says operator o operator kind of thing, so I suspected x operation may > not be composing those two operators. > > I am using 3x3 matrices, I was using t_linear_compose that someone sent to > this list but it gave some errors on some occasions so I switched back to > using x. Ofcourse if x is not really composing these two operators I will > switch back to linear_compose and try to fix the problem. > > Thanks > > -- > "The law that entropy always increases holds, I think, the supreme position > among the laws of Nature. If someone points out to you that your pet theory > of the universe is in disagreement with Maxwell's equations — then so much > the worse for Maxwell's equations. If it is found to be contradicted by > observation — well, these experimentalists do bungle things sometimes. But > if your theory is found to be against the second law of thermodynamics I can > give you no hope; there is nothing for it but to collapse in deepest > humiliation." — Sir Arthur Stanley Eddington > _______________________________________________ > Perldl mailing list > [email protected] > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl > > _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
