HP Prime Graphing Wireless Calculator User Manual

Page 216

Advertising
background image

212

Functions and commands

Example:

0 XOR 1 returns 1

zip

Applies a bivariate function to the elements of two lists or

vectors and returns the results in a vector. Without the default

value the length of the vector is the minimum of the lengths of

the two lists; with the default value, the shorter list is padded

with the default value.

zip(‘function’List1, List2, Default) or
zip(‘function’, Vector1, Vector2, Default)

Example:

zip('+',[a,b,c,d], [1,2,3,4])

returns

[a+1 b+2

c+3 d+4]

|

Inserts a template for substituting a value for a variable in an

expression.

Expr|Var1=Val1, [Var2=Val2, …]

2

Returns the square of an expression.

(Expr)

2

π

Inserts pi.

Inserts a template for a partial derivative expression.

Σ

Inserts a template for a summation expression.

Inserts a minus sign.

Inserts a square root sign.

Inserts a template for an antiderivative expression.

Inequality test. Returns 1 if the left and right sides are not

equal and 0 if they are equal.

Less than or equal inequality test. Returns 1 if the left side of

the inequality is less than the right side or if the two sides are

equal, and 0 otherwise.

Greater than or equal inequality test. Returns 1 if the left side

of the inequality is greater than the right side or if the two

sides are equal, and 0 otherwise.

Evaluates the expression then stores the result in variable var.
Note that

cannot be used with the graphics G0–G9. See the

command BLIT.

Advertising