HP Prime Graphing Wireless Calculator User Manual
Page 181
![background image](/manuals/397843/181/background.png)
Functions and commands
177
canonical_form
Returns a second degree trinomial in canonical form.
canonical_form(Trinomial,[Var])
Example:
canonical_form(2*x^2-12*x+1)
gives
2*(x-3)^2-
17
cat
Evaluates the objects in a sequence, then returns them
concatenated as a string.
cat(Object1, Object2,…)
Example:
cat("aaa",c,12*3)
gives
"aaac36"
cFactor
Returns an expression factorized over the complex field (on
Gaussian integers if there are more than two ).
cfactor(Expr)
Example:
cFactor(x^2*y+y)
gives
(x+i)*(x-i)*y
charpoly
Returns the coefficients of the characteristic polynomial of a
matrix. With only one argument, the variable used in the
polynomial is x. With a variable as second argument, the
polynomial returned is in terms of that variable.
charpoly(Matrix,[Var])
Example:
charpoly([[1,2],[3,4]], z) returns z^2-5*z-
2
chrem
Returns a vector containing the Chinese remainders for two
sets of integers, contained in either two vectors or two lists.
chrem(List1, List2) or chrem(Vector1, Vector2)
Example:
chrem([2,3],[7,5])
returns
[-12,35]
col
Given a matrix and an integer n, returns the n
th
column of the
matrix as a vector.
col(Matrix, Integer)