Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: Function to detect presence of a variable in

  • To: mathgroup at smc.vnet.net
  • Subject: [mg109440] Re: Function to detect presence of a variable in
  • From: David Bailey <dave at removedbailey.co.uk>
  • Date: Tue, 27 Apr 2010 04:06:43 -0400 (EDT)
  • References: <hr1584$a82$1@smc.vnet.net> <hr3k55$c3g$1@smc.vnet.net>

Raffy wrote:
> 
> Position produces results valid for Extract:
> 
> Extract[anything, {{}}] === anything, since: Part[anything] ===
> anything
> 

Except that unfortunately Extract doesn't seem to work in this case:

In[511]:= Extract[foo[a, b, c], {}]

Out[511]= {}

David Bailey
http://www.dbaileyconsultancy.co.uk


  • Prev by Date: InputField Rounding Problem
  • Next by Date: Matrix questions
  • Previous by thread: Re: Function to detect presence of a variable in
  • Next by thread: Re: Stop mathematica reordering expression during matrix