Bad argument type, DET(M9)/M8(2,1) in App
|
01-15-2016, 07:43 AM
Post: #2
|
|||
|
|||
RE: Bad argument type, DET(M9)/M8(2,1) in App
Hello,
The problem here is that the result of the -DET(M9)/M8(2,1) is not a number, it's a fraction. And this symbolic object can not be stored in a purely numerical 'Home) matrix (M0). Your program does mix CAS and Home, which, despite being ok in lots of cases, can sometimes lead to strange things. My #1 advice would be to use CAS variables rather than home variables for your CAS programs. If you do want to store the data in a home variables, add an evalf around the -DET(M9)/M8(2,1) code: M0(B,A):=evalf(-DET(M9)/M8(2,1)); and it should work. cyrille Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Bad argument type, DET(M9)/M8(2,1) in App - toshk - 01-14-2016, 11:04 AM
RE: Bad argument type, DET(M9)/M8(2,1) in App - cyrille de brébisson - 01-15-2016 07:43 AM
RE: Bad argument type, DET(M9)/M8(2,1) in App - toshk - 01-15-2016, 10:48 AM
RE: Bad argument type, DET(M9)/M8(2,1) in App - Han - 01-15-2016, 05:13 PM
RE: Bad argument type, DET(M9)/M8(2,1) in App - toshk - 01-16-2016, 06:54 AM
|
User(s) browsing this thread: 1 Guest(s)