Re: How to simplify transposed terms?
- Subject: [mg2758] Re: How to simplify transposed terms?
- From: rubin at msu.edu (Paul A. Rubin)
- Date: Wed, 13 Dec 1995 02:02:19 -0500
- Approved: usenet@wri.com
- Distribution: local
- Newsgroups: wri.mathgroup
- Organization: Michigan State University
In article <4a8qeb$5l3 at dragonfly.wri.com>, that ignoramus rubin at msu.edu (Paul A. Rubin) wrote: [blather, blather, blather ...] -> Unprotect[Transpose]; -> Transpose[ A_ B_ ] := Transpose[ B ] Transpose[ A ] /; -> MatrixQ[ A ] && MatrixQ[ B ] [etc.] -> In[]:= A /: MatrixQ[ A ] := True -> In[]:= B /: MatrixQ[ B ] := True -> In[]:= Transpose[ A B ] -> Out[]= Transpose[A]*Transpose[B] It's been pointed out to me that distributing Transpose across Times isn't the brightest of moves. Mea culpa: That should have been Dot, not Times. Paul Rubin ************************************************************************** * Paul A. Rubin Phone: (517) 432-3509 * * Department of Management Fax: (517) 432-1111 * * Eli Broad Graduate School of Management Net: RUBIN at MSU.EDU * * Michigan State University * * East Lansing, MI 48824-1122 (USA) * ************************************************************************** Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. J. W. v. GOETHE