beautypg.com

HP Prime Graphing Calculator User Manual

Page 389

background image

Functions and commands

383

basis

Given a matrix, returns the basis of the linear subspace

defined by the set of vectors in the matrix.

basis(Matrix))

Example:

basis([[1,2,3],[4,5,6],[7,8,9],[10,11,12]])

gives

[[-3,0,3],[0,-3,-6]]

black

Used in the Symbolic view of the Geometry app. In the

definition of a geometric object, including the statement

“display=black” specifies that the object defined will be

drawn in black.

blue

Used in the Symbolic view of the Geometry app. In the

definition of a geometric object, including the statement

“display=blue” specifies that the object defined will be drawn

in dark blue.

bounded_function

Returns the argument returned by a limit function thereby

indicating that the function is bounded.

breakpoint

Used in programming to insert an intentional stopping or

pausing point.

canonical_form

Returns a second degree trinomial in canonical form.

canonical_form(QuadraticExpr,[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