MathGroup Archive 1996

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

Search the Archive

substitue expression for function f as argument in mma

  • To: mathgroup at smc.vnet.net
  • Subject: [mg3629] substitue expression for function f as argument in mma
  • From: george at mech.seas.upenn.edu ( George Jefferson )
  • Date: Sat, 30 Mar 1996 02:46:54 -0500
  • Organization: Mechanical Engineering
  • Sender: owner-wri-mathgroup at wolfram.com


where a mma  function takes a function as an argument,
eg: Select[expr,f]

and "f" is a simple function say

 f[x_] := x < 0

is there a way to define the function directly in the
argument list?  something like:

Select[expr, arg < 0]

of course that doesnt work, but it seems like an issue if figuring
out the syntax..



==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Creating and Opening Files on a Mac...
  • Next by Date: Re: packages
  • Previous by thread: Re: Creating and Opening Files on a Mac...
  • Next by thread: Re: substitue expression for function f as argument in mma