HP Prime Graphing Calculator User Manual
Page 420
416
Functions and commands
row
Returns the row n or the sequence of the rows n1...n2 of the
matrix A.
row(Mtrx(A),Intg(n)||Interval(n1..n2))
Example:
row([[1,2,3],[4,5,6],[7,8,9]],1)
gives
[4,5,6]
rowAdd
Returns the matrix obtained from matrix A after the n2th row
is replaced by the sum of the n1th row and the n2th row.
rowAdd(Mtrx(A),Intg(n1),Intg(n2))
Example:
rowAdd([[1,2],[3,4],[5,6]],1,2)
gives
[[1,2],[3,4],[8,10]]
rowDim
Returns the number of rows of a matrix.
rowDim(Mtrx)
Example:
rowdim([[1,2,3],[4,5,6]])
gives
2
rowSwap
Returns the matrix obtained from matrix A after the n1th row
and the n2th row are swapped.
rowSwap(Mtrx(A),Intg(n1),Intg(n2))
Example:
rowSwap([[1,2],[3,4],[5,6]],1,2)
gives
[[1,2],[5,6],[3,4]]
rsolve
Returns the values of a recurrent sequence or a system of
recurrent sequences.
rsolve((Expr or LstExpr),(Var or
LstVar),(InitVal or LstInitVal))
Example:
rsolve(u(n+1)=2*u(n)+n,u(n),u(0)=1
gives
[-
n+2*2^n-1]
segment
Draws a line segment connecting two points.
segment((Pnt or Cplx),(Pnt or
Cplx),[Var],[Var])
Example:
segment(1+2i,4)
draws the segment defined by the
points whose coordinates are (1,2) and (4,0)