76 TI-Nspire™ Reference Guide
Prgm
Catalog
>
Prgm
Block
EndPrgm
Template for creating a user-defined program. Must be used with the
Define, Define LibPub, or Define LibPriv command.
Block can be a single statement, a series of statements separated
with the “:” character, or a series of statements on separate lines.
Note for entering the example: In the Calculator application
on the handheld, you can enter multi-line definitions by pressing
@
instead of · at the end of each line. On the computer keyboard,
hold down Alt and press Enter.
Calculate GCD and display intermediate results.
prodSeq()
See Π(), page
124
.
Product (
PI
)
See Π(), page
124
.
product()
Catalog
>
product(List[, Start[, End]]) ⇒ expression
Returns the product of the elements contained in List. Start and End
are optional. They specify a range of elements.
product(Matrix1[, Start[, End]]) ⇒ matrix
Returns a row vector containing the products of the elements in the
columns of Matrix1. Start and end are optional. They specify a range
of rows.
Empty (void) elements are ignored. For more information on empty
elements, see page 131.