HP Prime Graphing Wireless Calculator User Manual
Page 184
180
Functions and commands
Boolean test, each element in the vector or matrix is tested and
the number of elements that pass the test is returned.
count(Var
→ Function, Matrix) or count(Var → Test, Matrix)
Examples:
count(x→x
2
,[1 2 3]) returns 14
count(x→ x>1, [1 2 3]) returns 2
covariance
Returns the covariance of the elements in a list or matrix.
covariance(List) or covariance(Matrix)
Example:
covariance
returns
covariance_
correlation
Returns a vector containing both the covariance and the
correlation of the elements of a list or matrix.
covariance_correlation(List) or
covariance_correlation(Matrix)
Example:
covariance_correlation
returns
cpartfrac
Returns the result of partial fraction decomposition of a
rational fraction in the complex field.
cpartfrac(RatFrac)
Example:
cpartfrac
returns
crationalroot
Returns the list of complex rational roots of a polynomial
without indicating the multiplicity.
crationalroot(Poly)
1 2
1 1
4 7
11
3
-------
1 2
1 1
4 7
11
3
-------
33
6
31
⋅
-------------------
x
4 x
2
–
----------------
1
2
---
x 2
–
------------
–
1
2
---
x 2
+
-------------
–