MathGroup Archive 2009

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

Search the Archive

Re: Why does Derivative fail in this case?


Hi,

try:

g = f[#1, #2]*f[#1, #2] &;

And why SlotSequence[1] is different from Slot[1]
is self-explanatory


Regards
   Jens

Aaron Fude wrote:
> Hi,
> 
> This example is self-explanatory:
> 
> f[x_, y_] := x y
> g = f[##]*f[##] &;
> h = Derivative[1, 0][g];
> g[x, y]
> h[x, y]
> 
> I should expect that h[x, y] is 2 x y^2, but instead it is zero. How
> come?
> 
> Version 6.0
> 
> Many thanks in advance,
> 
> Aaron
> 


  • Prev by Date: Re: Division by zero, despite strong hint
  • Next by Date: Re: Length of a held expression
  • Previous by thread: Re: Why does Derivative fail in this case?
  • Next by thread: Re: Why does Derivative fail in this case?