CAS questions: IF...THEN and length() function
|
12-01-2015, 10:00 PM
(This post was last modified: 12-01-2015 10:08 PM by Han.)
Post: #2
|
|||
|
|||
RE: CAS questions: IF...THEN and length() function
(12-01-2015 09:36 PM)Nigel (UK) Wrote: I've been writing some simple CAS programs in CAS mode and I've encountered a few issues. The first is to do with return: Using upper-case RETURN() will do what you want. I remember running into this a long time ago and return() in lower-case only works properly if it is the last statement of the program (the actual "return" is likely due to the ending of the program, though, and not the command itself). I had to make this change in my SVD program listing. I do not know if this ever got reported as a bug, though. Is length counting an equality as 2 since there are two sides of an equation? I'm not sure how you get 3 elements from x+2=y There are several cas programs in the HP Prime library. (Joe Horn has written a few, I have one that computes the SVD of a matrix and a few other linear algebra routines, and I am sure you can find more if you look). Graph 3D | QPI | SolveSys |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
CAS questions: IF...THEN and length() function - Nigel (UK) - 12-01-2015, 09:36 PM
RE: CAS questions: IF...THEN and length() function - Han - 12-01-2015 10:00 PM
RE: CAS questions: IF...THEN and length() function - Nigel (UK) - 12-01-2015, 10:15 PM
RE: CAS questions: IF...THEN and length() function - Han - 12-01-2015, 10:24 PM
RE: CAS questions: IF...THEN and length() function - parisse - 12-02-2015, 01:54 PM
RE: CAS questions: IF...THEN and length() function - Han - 12-02-2015, 02:01 PM
|
User(s) browsing this thread: 1 Guest(s)