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

MathGroup Archive 2013

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

Search the Archive

Re: defining a function whose parameter must be a function with two

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131091] Re: defining a function whose parameter must be a function with two
  • From: debguy <johnandsara2 at cox.net>
  • Date: Tue, 11 Jun 2013 02:29:11 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net
  • References: <koch6b$t5t$1@smc.vnet.net> <koehf1$2st$1@smc.vnet.net>

did you try this yet?

g[x_,y_]:=1;

f[Function[x_, y_]] := g[x, y]

it may be easier than (holding the argument to F and checking it's
pattern manually)



  • Prev by Date: a trivial task?
  • Next by Date: Re: Rookie questions about solving for small numbers
  • Previous by thread: Re: defining a function whose parameter must be a function with two
  • Next by thread: Output patterning