Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #14798

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

From debguy <johnandsara2@cox.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: defining a function whose parameter must be a function with two
Date 2013-06-11 06:22 +0000
Message-ID <kp6fms$ncv$1@smc.vnet.net> (permalink)
References <koch6b$t5t$1@smc.vnet.net> <koehf1$2st$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


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)

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

defining a function whose parameter must be a function with two parameters Roman <rschmied@gmail.com> - 2013-06-01 10:08 +0000
  Re: defining a function whose parameter must be a function with two David Bailey <dave@removedbailey.co.uk> - 2013-06-02 04:25 +0000
    Re: defining a function whose parameter must be a function with two debguy <johnandsara2@cox.net> - 2013-06-11 06:22 +0000

csiph-web