HP Prime Graphing Wireless Calculator User Manual
Page 178
![background image](/manuals/397843/178/background.png)
174
Functions and commands
.*
List or matrix multiplication symbol. Returns the term-by-term
multiplication of two lists or two matrices.
List1.*List2
or
Matrix1.*Matrix2
Example:
[[1,2],[3,4]].*[[3,4],[5,6]]
gives
[[3,8],[15,24]]
./
List or matrix division symbol. Returns the term-by-term division
of two lists or two matrices.
.^
Returns the list or matrix where each term is the corresponding
term of the list or matrix given as argument, raised to a power.
List.^Integer
or
Matrix.^Integer
/
Division symbol. Returns the quotient of two numbers, or the
term by term quotient of two lists. For division of a matrix by
a square matrix, returns the left-multiplication by the inverse of
the square matrix.
:=
Stores the evaluated expression in the variable. Note that:=
cannot be used with the graphics variables G0–G9. See the
command BLIT.
var:=expression
Example:
A:=3
stores the value 3 in the variable A
<
Strict less-than-inequality test. Returns 1 if the left side of the
inequality is less than the right side, and 0 otherwise. Note
that more than two objects can be compared. Thus 6 < 8 <
11 returns 1 (because it is true) whereas 6 < 8 < 3 returns 0
(as it is false).
<=
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. Note that more than two objects can
be compared. See comment above regarding <.
<>
Inequality test. Returns 1 if the inequality is true, and 0 if the
inequality is false.
=
Equality symbol. Connects two members of an equation.
==
Equality test. Returns 1 if the left side and right side are equal,
and 0 otherwise.