Post Reply 
HP Prime CAS programming
03-30-2015, 05:46 PM
Post: #10
RE: HP Prime CAS programming
(03-30-2015 04:29 PM)pr0 Wrote:  Thanks Han!

This is one of the reasons the Prime is unusable as a reliable and time saving tool, extremely inconsistent and unintuitive handling and results.

Have been trying to make something work that I have spent hours trying to solve before.. Would you please show me how to use "quorem" using arguments in a nonCAS program? Would be REALLY helpful!

Like (this obviously don't work..):

EXPORT TEST(x,y)
BEGIN
CAS.quorem(x,y);
END;

This works fine when I try TEST([1,2,3,4],[-1,2]). However, it seems that quorem() is broken when using double-quoted arguments such as:

quorem("x^3+2*x^2+3*x+4","-x+2")

My suspicion is that both vectors and strings are pointer-based, and the parser is probably mis-interpreting the string as a vector (I get [undef] as the result). I think you may have found a bug either in the CAS parser or the quorem command itself.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP Prime CAS programming - Han - 02-19-2015, 08:21 PM
RE: HP Prime CAS programming - salvomic - 02-19-2015, 08:41 PM
RE: HP Prime CAS programming - Han - 02-23-2015, 05:21 PM
RE: HP Prime CAS programming - dg1969 - 02-19-2015, 10:35 PM
RE: HP Prime CAS programming - rprosperi - 02-20-2015, 01:22 PM
RE: HP Prime CAS programming - Han - 02-21-2015, 03:21 AM
RE: HP Prime CAS programming - salvomic - 02-21-2015, 06:21 AM
RE: HP Prime CAS programming - rprosperi - 02-21-2015, 01:54 PM
RE: HP Prime CAS programming - pr0 - 03-30-2015, 04:29 PM
RE: HP Prime CAS programming - Han - 03-30-2015 05:46 PM
RE: HP Prime CAS programming - Carlos295pz - 04-16-2017, 08:46 AM
RE: HP Prime CAS programming - leprechaun - 01-22-2020, 12:21 PM
RE: HP Prime CAS programming - Joe Horn - 01-22-2020, 01:02 PM
RE: HP Prime CAS programming - Tim Wessman - 01-22-2020, 01:15 PM
RE: HP Prime CAS programming - CyberAngel - 01-25-2020, 10:31 AM
RE: HP Prime CAS programming - compsystems - 01-25-2020, 02:40 PM
RE: HP Prime CAS programming - leprechaun - 01-22-2020, 03:09 PM
RE: HP Prime CAS programming - compsystems - 01-25-2020, 02:58 AM
RE: HP Prime CAS programming - parisse - 01-26-2020, 07:42 AM
RE: HP Prime CAS programming - roadrunner - 08-29-2020, 11:25 AM



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