EasyManuals Logo

Texas Instruments TI-Nspire Reference Guide

Texas Instruments TI-Nspire
164 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #52 background imageLoading...
Page #52 background image
46 TI-Nspire™ Reference Guide
If BooleanExpr1 Then
Block1
ElseIf
BooleanExpr2 Then
Block2
©
ElseIf
BooleanExprN Then
BlockN
EndIf
Allows for branching. If BooleanExpr1 evaluates to true, executes
Block1. If BooleanExpr1 evaluates to false, evaluates
BooleanExpr2, and so on.
ifFn()
Catalog
>
ifFn(BooleanExpr,Value_If_true [,Value_If_false
[,
Value_If_unknown]]) expression, list, or matrix
Evaluates the boolean expression BooleanExpr (or each element
from BooleanExpr ) and produces a result based on the following
rules:
BooleanExpr can test a single value, a list, or a matrix.
If an element of BooleanExpr evaluates to true, returns the
corresponding element from Value_If_true.
If an element of BooleanExpr evaluates to false, returns the
corresponding element from Value_If_false. If you omit
Value_If_false, returns undef.
If an element of BooleanExpr is neither true nor false, returns
the corresponding element Value_If_unknown. If you omit
Value_If_unknown, returns undef.
If the second, third, or fourth argument of the ifFn() function is a
single expression, the Boolean test is applied to every position in
BooleanExpr.
Note: If the simplified BooleanExpr statement involves a list or
matrix, all other list or matrix arguments must have the same
dimension(s), and the result will have the same dimension(s).
Test value of 1 is less than 2.5, so its corresponding
Value_If_True element of 5 is copied to the result list.
Test value of 2 is less than 2.5, so its corresponding
Value_If_True element of 6 is copied to the result list.
Test value of 3 is not less than 2.5, so its corresponding
Value_If_False element of 10 is copied to the result list.
Value_If_true is a single value and corresponds to any selected
position.
Value_If_false is not specified. Undef is used.
One element selected from Value_If_true. One element
selected from Value_If_unknown.
imag()
Catalog
>
imag(Va lu e 1) value
Returns the imaginary part of the argument.
imag(List1) list
Returns a list of the imaginary parts of the elements.
If
Catalog
>

Table of Contents

Other manuals for Texas Instruments TI-Nspire

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-Nspire and is the answer not in the manual?

Texas Instruments TI-Nspire Specifications

General IconGeneral
TypeDisplay
Form factorPocket
Product colorBlue, White
Display resolution320 x 240 pixels
Display size (HxV) (imperial)0 \
Compatible operating systemsWindows Vista/XP Mac OS X 10.4/10.5
Battery typeAAA
Number of batteries supported4
Weight and Dimensions IconWeight and Dimensions
Dimensions (WxDxH)100 x 198.3 x 28.7 mm

Related product manuals