cancel
Showing results for 
Search instead for 
Did you mean: 
Zarcov
New member
1 0 0 0
Message 1 of 3
436
Flag Post

bug on matrix calculation

HP Recommended
HP PRIME

Found a strange bug on HP Prime. When I make the simple calculation inv(TRN(M1))*TRN(M0) where M0 and M1 are square matrices I get the right answer. But when this calculation is plugged into a function, it returns a wrong answer. 

The function is coded in this exact way.

Thanks for answering.

0 Kudos
Tags (1)
2 REPLIES 2
Ciro_Bruno
Level 4
137 122 6 17
Message 2 of 3
Flag Post
HP Recommended
Hello Zarcov.

Would you mind sharing your function here? We could see it better.

One of my suspicions is that your function id trying to attribute the result of your matrixes operations to a variable that doesn't match thw required tipe. I mean you may be tying to attribute a matrix to a real type variable, for example.

Regards,
Ciro.
0 Kudos
Maké
Level 9
3,551 3,490 180 541
Message 3 of 3
Flag Post
HP Recommended

Hi!, @Zarcov :

 

See, the page 317, for TRN, from ... https://www-fourier.ujf-grenoble.fr/~parisse/hp-prime_cas.pdf

Kind Regards !.
Have a nice day !.
@Maké (Technical Advisor Premium - HP Program Top Contributor).
Provost in HP Spanish Public Forum ... https://h30467.www3.hp.com/
0 Kudos
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation