[Date Index] [Thread Index] [Author Index]
Re: Max Consecutive Occurrence.
The two functions you mention are simply part of the examples, and are not actually built-in functions of Mathematica. I guess that is why they are not in the index. There are many cases in the Help browser where very useful functions are defined in the examples only for purposes of illustration. And perhaps the function you need, 'MaxConsecutiveOccurrence', is precisely the last of the Further Examples (q.v.)? Tomas Garza Mexico City ----- Original Message ----- From: "Robert G. Wilson v" <rgwv at rgwv.com> To: mathgroup at smc.vnet.net Subject: [mg47674] [mg47653] Max Consecutive Occurrence. > > Mathematica had many programmed functions which are not referenced in the > help index. Under '?Position -> Further Examples' you will find two such > functions, 'ConsecutiveOccurrences1' and 'ConsecutiveOccurrences2.' I > first wish that Mathematica would index these. > > But the reason for writing is that I have a need for a function named > 'MaxConsecutiveOccurrence' which would return the maximum consecutive > occurrence of x in a list. > > Thank you in advance. > > > Bob. > >