Difference between revisions of "RemoveUndefined Command"

From GeoGebra Manual
Jump to: navigation, search
m
Line 2: Line 2:
 
{{command|list}}
 
{{command|list}}
 
; RemoveUndefined[List]: Removes undefined objects from a list.
 
; RemoveUndefined[List]: Removes undefined objects from a list.
: {{Example| 1=<code>RemoveUndefined[Sequence[(-1)^i, i, -3, -1, 0.5]]</code> removes the second and fourth elements of the sequence which have non-integer exponents and, therefore, are undefined.}}
+
: {{Example| 1=<code>RemoveUndefined[Sequence[(-1)^i, i, -3, -1, 0.5]]</code> removes the second and fourth elements of the sequence since expressions <math>(-1)^{1.5}</math> and <math>(-1)^{2.5}</math> are undefined.}}

Revision as of 11:57, 22 May 2011


RemoveUndefined[List]
Removes undefined objects from a list.
Example: RemoveUndefined[Sequence[(-1)^i, i, -3, -1, 0.5]] removes the second and fourth elements of the sequence since expressions (-1)^{1.5} and (-1)^{2.5} are undefined.
© 2024 International GeoGebra Institute