Texas Instruments NS/CLM/1L1/B Reference Guide - Page 112

BooleanExpr1, BooleanExpr2, BooleanExprN, Variable, value, Value, Matrix, Function, Param1

Page 112 highlights

| ("with") Expr | BooleanExpr1 [and BooleanExpr2]...[and BooleanExprN] The "with" (|) symbol serves as a binary operator. The operand to the left of | is an expression. The operand to the right of | specifies one or more relations that are intended to affect the simplification of the expression. Multiple relations after | must be joined by a logical "and". The "with" operator provides three basic types of functionality: substitutions, interval constraints, and exclusions. Substitutions are in the form of an equality, such as x=3 or y=sin(x). To be most effective, the left side should be a simple variable. Expr | Variable = value will substitute value for every occurrence of Variable in Expr. Interval constraints take the form of one or more inequalities joined by logical "and" operators. Interval constraints also permit simplification that otherwise might be invalid or not computable. Exclusions use the "not equals" (/= or ƒ) relational operator to exclude a specific value from consideration. & (store) Value & Var List & Var Matrix & Var Expr & Function(Param1,...) List & Function(Param1,...) Matrix & Function(Param1,...) If the variable Var does not exist, creates it and initializes it to Value, List, or Matrix. If the variable Var already exists and is not locked or protected, replaces its contents with Value, List, or Matrix. := (assign) Var := Value Var := List Var := Matrix Function(Param1,...) := Expr Function(Param1,...) := List Function(Param1,...) := Matrix If variable Var does not exist, creates Var and initializes it to Value, List, or Matrix. If Var already exists and is not locked or protected, replaces its contents with Value, List, or Matrix. * key /hkey := keys 106 TI-Nspire™ Reference Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130

106
TI-Nspire™ Reference Guide
| (“with”)
*
key
Expr
|
BooleanExpr1
[
and
BooleanExpr2
]...[
and
BooleanExprN
]
The “with” (|) symbol serves as a binary operator. The operand to the
left of | is an expression. The operand to the right of | specifies one or
more relations that are intended to affect the simplification of the
expression. Multiple relations after | must be joined by a logical
“and”.
The “with” operator provides three basic types of functionality:
substitutions, interval constraints, and exclusions.
Substitutions are in the form of an equality, such as x=3 or y=sin(x).
To be most effective, the left side should be a simple variable.
Expr
|
Variable
=
value
will substitute
value
for every occurrence of
Variable
in
Expr
.
Interval constraints take the form of one or more inequalities joined
by logical “
and
” operators. Interval constraints also permit
simplification that otherwise might be invalid or not computable.
Exclusions use the “not equals” (/= or
ƒ
) relational operator to
exclude a specific value from consideration.
&
(store)
/h
key
Value
&
Var
List
&
Var
Matrix
&
Var
Expr
&
Function
(
Param1
,
...
)
List
&
Function
(
Param1
,
...
)
Matrix
&
Function
(
Param1
,
...
)
If the variable
Var
does not exist, creates it and initializes it to
Value
,
List
, or
Matrix
.
If the variable
Var
already exists and is not locked or protected,
replaces its contents with
Value
,
List
, or
Matrix
.
:= (assign)
:=
keys
Var
:=
Value
Var
:=
List
Var
:=
Matrix
Function
(
Param1
,
...
) :=
Expr
Function
(
Param1
,
...
) :=
List
Function
(
Param1
,
...
) :=
Matrix
If variable
Var
does not exist, creates
Var
and initializes it to
Value
,
List
, or
Matrix
.
If
Var
already exists and is not locked or protected, replaces its
contents with
Value
,
List
, or
Matrix
.