400 Functions and commands
mat2list Returns the list of the terms of a matrix.
mat2list(Mtrx)
Example:
mat2list([[1,8],[4,9]]) gives [1,8,4,9]
matpow Calculates the nth power of a matrix by jordanization
matpow(Mtrx,Intg(n))
Example:
matpow([[1,2],[3,4]],n) gives [[(sqrt(33)-
3)*((sqrt(33)+5)/2)^n*-6/(-12*sqrt(33))+(-
(sqrt(33))-3)*((-(sqrt(33))+5)/2)^n*6/(-
12*sqrt(33)),(sqrt(33)-3)*((sqrt(33)+5)/
2)^n*(-(sqrt(33))-3)/(-12*sqrt(33))+(-
(sqrt(33))-3)*((-(sqrt(33))+5)/2)^n*(-
(sqrt(33))+3)/(-
12*sqrt(33))],[6*((sqrt(33)+5)/2)^n*-6/(-
12*sqrt(33))+6*((-(sqrt(33))+5)/2)^n*6/(-
12*sqrt(33)),6*((sqrt(33)+5)/2)^n*(-
(sqrt(33))-3)/(-12*sqrt(33))+6*((-
(sqrt(33))+5)/2)^n*(-(sqrt(33))+3)/(-
12*sqrt(33))]]
MAXREAL Returns the maximum real number that the HP Prime is
capable of representing: 9.99999999999E499.
mean Returns the arithmetic mean of a list or of the columns of a
matrix (with the optional list a list of weights).
mean(Lst||Mtrx,[Lst])
Example:
mean([1,2,3],[1,2,3]) gives 7/3
median Returns the median of a list or of the columns of a matrix (with
the optional list a list of weights).
median(Lst||Mtrx,[Lst])
Example:
median([1,2,3,5,10,4]) gives 3.0