HP Prime Graphing Wireless Calculator Instrukcja Użytkownika Strona 473

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 472
contains
Given a list or vector and an element, returns the index of the rst occurrence of the element in the list or
vector; if the element does not appear in the list or vector, returns 0.
contains((List, Element) or contains(Vector, Element)
Example:
contains({0,1,2,3},2) returns 3
CopyVar
Copies the rst variable into the second variable without evaluation.
CopyVar(Var1,Var2)
correlation
Returns the correlation of the elements of a list or matrix.
correlation(List) or correlation(Matrix)
Example:
correlation returns
count
There are two uses for this function, in which rst argument is always a mapping of a variable onto an
expression. If the expression is a function of the variable, the function is applied to each element in the vector
or matrix (the second argument) and the sum of the results is returned; if the expression is a 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)
Example:
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
Ctlg menu 425
Przeglądanie stron 472
1 2 ... 468 469 470 471 472 473 474 475 476 477 478 ... 700 701

Komentarze do niniejszej Instrukcji

Brak uwag