Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

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.
>
>



  • Prev by Date: RE: Max Consecutive Occurrence.
  • Next by Date: Re: NETLink Q: How Create Array of specified Type?
  • Previous by thread: Max Consecutive Occurrence.
  • Next by thread: Re: Max Consecutive Occurrence.