MathGroup Archive 2007

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

Search the Archive

Re: ListDimension function


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