MathGroup Archive 2006

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

Search the Archive

PiecewiseExpand bug?


This produces what I expect:

Product[PDF[BernoulliDistribution[p], x[i]], {i, 3}] /.
	{x[1] -> 0, x[2] -> 1, x[3] -> 1}

But this does not:

PiecewiseExpand[Product[PDF[BernoulliDistribution[p], x[i]], {i, 3}]] /.
	{x[1] -> 0, x[2] -> 1, x[3] -> 1}

It appears PiecewiseExpand does something it shouldn't here. Any thoughts?

--Mark.


  • Prev by Date: Re: Precision of arguments to FunctionInterpolation
  • Next by Date: Re: Something in the spirit of letrec
  • Previous by thread: Re: near Planck's mass
  • Next by thread: Re: PiecewiseExpand bug?