Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: ListDimension function

  • To: mathgroup at
  • Subject: [mg72615] Re: ListDimension function
  • From: "Ray Koopman" <koopman at>
  • Date: Fri, 12 Jan 2007 05:45:44 -0500 (EST)
  • References: <eo25ue$as5$><eo4nl2$m7m$>

Ray Koopman wrote:
> I'm not at a machine where I can try this, but how about something
> like:
>   ListDim[x_?AtomQ] := 0;
>   ListDim[x_] := Boole[Head@x == List] + Max[ListDim /@ x]
It's a disaster! Please don't waste any time on it.

  • Prev by Date: Integration using mathematica
  • Next by Date: Re: If & NIntegrate
  • Previous by thread: Re: ListDimension function
  • Next by thread: Re: help