Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*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 2006

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

Search the Archive

Re: (Mathematica wish list)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg71365] Re: (Mathematica wish list)
  • From: "Vince Virgilio" <blueschi at gmail.com>
  • Date: Thu, 16 Nov 2006 00:52:41 -0500 (EST)
  • References: <200611130534.AAA18393@smc.vnet.net><ejevgj$1to$1@smc.vnet.net>

On Nov 15, 7:00 am, Daniel Lichtblau <d... at wolfram.com> wrote:
>
> [elided]
>
> getAllVariables[f_?NumericQ] := Sequence[]
> getAllVariables[{}] := Sequence[]
>
> getAllVariables[ll_List] :=
>    Flatten[Union[Map[getAllVariables[#]&, ll]]]

Daniel,

I have a question about the style of this code. Why create a pure
function from getAllVariables, especially since it already has single
arity? Does it matter?

>
> [elided]
>
>
> Daniel Lichtblau
> Wolfram Research

Thanks,

Vince Virgilio


  • Prev by Date: Re: comparing finite fields elements with == or != doesn't work?!?!
  • Next by Date: Re: Binomial Distribution
  • Previous by thread: RE: mouse drage listener!
  • Next by thread: Re: Re: (Mathematica wish list)