Post Reply 
Differences in Home vs CAS
10-21-2022, 12:42 AM (This post was last modified: 10-21-2022 05:23 PM by ftneek.)
Post: #4
RE: Differences in Home vs CAS
So it turns out the simulator on Mac (software from 2020 01 16) produces the bad argument argument type error, while my physical calculator on (2021 12 02) is able to run the command in CAS mode. However, if I try to write it to be a CAS program then it throws the "Ifte" error. When I use the debug() command on the CAS version of the program, it throws the error when rowsum() returns. Any ideas why?

(10-20-2022 05:56 AM)parisse Wrote:  The line t := (TRN(r)*r) / (TRN(r)*A*r); should be rewritten as t := (TRN(r)*r) * (TRN(r)*A*r)^(-1)
Try debug(conjugate_gradient(...)), this will spot the line where the error occurs.

Thank you, I made this change and it removed the A/B warning when I try to write it as a CAS program, though I am still getting the Ifte error.

(10-20-2022 09:25 PM)Didier Lachieze Wrote:  Another way to implement rowsum:
Thank you.

- neek
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Differences in Home vs CAS - ftneek - 10-19-2022, 08:55 PM
RE: Differences in Home vs CAS - parisse - 10-20-2022, 05:56 AM
RE: Differences in Home vs CAS - ftneek - 10-21-2022 12:42 AM
RE: Differences in Home vs CAS - parisse - 10-21-2022, 10:02 AM
RE: Differences in Home vs CAS - ftneek - 10-21-2022, 03:00 PM
RE: Differences in Home vs CAS - parisse - 10-21-2022, 03:52 PM
RE: Differences in Home vs CAS - ftneek - 10-21-2022, 05:43 PM



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