Post Reply 
Differences in Home vs CAS
10-21-2022, 10:02 AM
Post: #5
RE: Differences in Home vs CAS
(10-21-2022 12:42 AM)ftneek Wrote:  
(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.
That's precisely why I suggest you to run your program in step by step mode. From CAS commandline, run debug(conjugate_gradient(arguments)) instead of conjugate_gradient(arguments). This way you will know which line of the program raises the error.
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)