MathGroup Archive 2006

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

Search the Archive

PiecewiseExpand bug?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg68464] PiecewiseExpand bug?
  • From: Mark Fisher <mark at markfisher.net>
  • Date: Sun, 6 Aug 2006 02:56:39 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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?