HP Forums
is "of" a cas operator? - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: is "of" a cas operator? (/thread-9270.html)



is "of" a cas operator? - webmasterpdx - 10-10-2017 06:02 AM

I was doing some experiments to see what XCas functions were implemented (or not) in the HP Prime's CAS implementation. I tried the user_operator command as in:
user_operator("R",(x,y)->(x*y+x+y),Binary) (works in XCas).

I got an error message:
of(['Error: Bad Argument value'])

My question is that even though I'm sure user_operator isn't implemented in the Prime, which part of what I typed was getting the Bad Argument? Is "of" referring to an operator or something?

Thx
-Donald


RE: is "of" a cas operator? - parisse - 10-10-2017 09:12 AM

User function applied to something, like f(x), are internally represented by a tree with rootnode of and 2 arguments f and x : of is a commandname


RE: is "of" a cas operator? - webmasterpdx - 10-10-2017 09:45 AM

Thanks!