The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

[HP-Prime CAS] list[x,y,z], vector[x, y, z ] ... data type operation?
Message #1 Posted by CompSystems on 22 Aug 2013, 9:18 a.m.

Hello

Where can I find documentation on the HP-Prime data type operation?

Samples

list[ x,y,z ] return { x, y ,z } => entry line => list[x,y,z]

vector[ x, y, z ] return [ x, y, z ] => entry line => vector[x,y,z]

matrix[[x,y,z]] return {{x,y,z}} => entry line => {{x,y,z}} [enter] error

vector[[x,y,z]] return [[x,y,z]] => entry line => vector[{x,y,z}] [enter] error

set[x ,y, z, z, x, y] return [ x, y, z ] => entry line => {x,y,z}??

Example con solve 0: second parameter as list[x,y,z]

solve(x-3*y+z = 1 and 2*x-y-2*z = -1 and 2*x-6*y+2*z = 2,list[x,y,z])

or and => &&

solve(x-3*y+z = 1 && 2*x-y-2*z = -1 && 2*x-6*y+2*z = 2,list[x,y,z])

or

solve(x-3*y+z = 1 && 2*x-y-2*z = -1 && 2*x-6*y+2*z = 2, vector[x,y,z])

return

[ x = x, y = ((4*x-1)/7), z = ((5*x+4)/7) ] // x =, y =, z = explicit, like MAPLE and TICAS answer =)

while second parameter as {x,y,z}

solve(x-3*y+z = 1 and 2*x-y-2*z = -1 and 2*x-6*y+2*z = 2,{x,y,z})

[ x, ((4*x-1)/7), ((5*x+4)/7) ] =( implicit

      
Re: [HP-Prime CAS] list[x,y,z], vector[x, y, z ] ... data type operation?
Message #2 Posted by Joe Horn on 22 Aug 2013, 3:30 p.m.,
in response to message #1 by CompSystems

Quote:
Where can I find documentation on the HP-Prime data type operation?

Although Prime's CAS is not identical to the Xcas program, it has very much in common with it, so the documentation for Xcas is probably your best bet for the time being.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall