HP Forums

Full Version: [HP-Prime CAS] list[x,y,z], vector[x, y, z ] ... data type operation?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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

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.