Re: Max Consecutive Occurrence.
- To: mathgroup at smc.vnet.net
- Subject: [mg47674] Re: [mg47653] Max Consecutive Occurrence.
- From: Tomas Garza <tgarza01 at prodigy.net.mx>
- Date: Wed, 21 Apr 2004 05:23:16 -0400 (EDT)
- References: <200404200719.DAA27856@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
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. > >
- References:
- Max Consecutive Occurrence.
- From: "Robert G. Wilson v" <rgwv@rgwv.com>
- Max Consecutive Occurrence.