DOCUMENTATION CENTER SEARCH
Mathematica
>
Functional Iteration
>
Built-in
Mathematica
Symbol
Applying Functions Repeatedly
Tutorials »
|
Length
Position
TakeWhile
See Also »
|
Elements of Lists
Functional Iteration
Functional Programming
New in 6.0: List Manipulation
More About »
LengthWhile
LengthWhile
[
list
,
crit
]
gives the number of continuous elements
e
i
starting at the beginning of
list
for which
crit
[
e
i
]
is
True
.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Find the length of the run of elements below 10:
In[1]:=
Out[1]=
Scope
(1)
Applications
(1)
Properties & Relations
(3)
Possible Issues
(1)
SEE ALSO
Length
Position
TakeWhile
TUTORIALS
Applying Functions Repeatedly
MORE ABOUT
Elements of Lists
Functional Iteration
Functional Programming
New in 6.0: List Manipulation
New in 6
© 2008 Wolfram Research, Inc.