HP50G : TRN vs TRAN
11-16-2019, 11:49 AM
Post: #1
 Gil Member Posts: 56 Joined: Oct 2019
HP50G : TRN vs TRAN
What is the difference between TRN and TRAN transpose-commands on the HP50G?

Thanks for your clues.

Regards,
Gil
11-16-2019, 12:59 PM
Post: #2
 grsbanks Senior Member Posts: 1,147 Joined: Jan 2017
RE: HP50G : TRN vs TRAN
Both return the transpose of a matrix when dealing with real numbers.

When dealing with complex matrices, TRAN just return the transpose whereas TRN returns the conjugate transpose.

See pages 3-255 and 3-258 of the AUR.

There are only 10 types of people in this world. Those who understand binary and those who don't.
11-16-2019, 01:07 PM
Post: #3
 Dave Britten Senior Member Posts: 1,579 Joined: Dec 2013
RE: HP50G : TRN vs TRAN
(11-16-2019 12:59 PM)grsbanks Wrote:  Both return the transpose of a matrix when dealing with real numbers.

When dealing with complex matrices, TRAN just return the transpose whereas TRN returns the conjugate transpose.

See pages 3-255 and 3-258 of the AUR.

Strange that they didn't label it CTRN or something.
11-16-2019, 01:49 PM
Post: #4
 Werner Senior Member Posts: 525 Joined: Dec 2013
RE: HP50G : TRN vs TRAN
(11-16-2019 01:07 PM)Dave Britten Wrote:  Strange that they didn't label it CTRN or something.

HERM, then

Cheers, Werner
11-16-2019, 06:17 PM
Post: #5
 Valentin Albillo Senior Member Posts: 605 Joined: Feb 2015
RE: HP50G : TRN vs TRAN
(11-16-2019 01:07 PM)Dave Britten Wrote:  Strange that they didn't label it CTRN or something.

Perhaps it has to do with the fact that originally all matrix operations were directly taken from the ones already implemented in Saturn assembly language for the HP-71B Math ROM and there the conjugate transpose was named TRN.

Also, for complex matrices the conjugate transpose is by far the most useful operation as compared with just the transpose alone, which almost never appears in any algorithm or real-life application.

V.

Find All My HP-related Materials here:  Valentin Albillo's HP Collection

11-16-2019, 07:01 PM
Post: #6
 Gil Member Posts: 56 Joined: Oct 2019
RE: HP50G : TRN vs TRAN
Thanks.
I have got only the books for the HP48.
Lost the reference books relative to the HP50G?
Regards and thanks.
Gil
11-16-2019, 07:12 PM
Post: #7
 Gil Member Posts: 56 Joined: Oct 2019
RE: HP50G : TRN vs TRAN
Strange that the instruction TRN, which includes the conjugate-operation, is from 5 to 10% faster than the "simpler" TRAN command.
11-17-2019, 12:43 AM
Post: #8
 Gene Moderator Posts: 1,046 Joined: Dec 2013
RE: HP50G : TRN vs TRAN
Download the 50g AUR here: 50g AUR
 « Next Oldest | Next Newest »

User(s) browsing this thread: 1 Guest(s)