MathGroup Archive 2005

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

Search the Archive

Re: Condition for pure functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg59802] Re: Condition for pure functions
  • From: "dkr" <dkrjeg at adelphia.net>
  • Date: Mon, 22 Aug 2005 02:48:19 -0400 (EDT)
  • References: <de9dbs$qa3$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In[12]:=
g=Function[h[x_/;x>0]:=Sin[x];h[x_]:=Tan[x];h[#]];
{g[Pi/2],g[-Pi/2]}
Out[13]=
{1,ComplexInfinity}


  • Prev by Date: Re: Plotting the Lemniscate of Bernoulli
  • Next by Date: Re: Condition for pure functions
  • Previous by thread: Re: Condition for pure functions
  • Next by thread: Re: Condition for pure functions