Message Boards Message Boards

0
|
3374 Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:

ForAll statement being ignored

Posted 9 years ago
POSTED BY: Nick Hare
3 Replies

Are you trying to do Assumptions -> ForAll[x, score[x] >= 0] ? I don't think ForAll works as an assumption. It's used inside Reduce or Resolve.

POSTED BY: Frank Kampas
Posted 9 years ago

Many thanks - that's exactly what I'm trying to do. With an arbitrary x elements, how can I declare the assumption that score[x]>0 for every element?

POSTED BY: Nick Hare
Posted 9 years ago

Aha - cracked it with:

probresult[g_, factor_] := 
 Simplify[PDF[PoissonDistribution[factor], score[g]], 
  Assumptions -> score[g] >= 0]

Very many thanks!

POSTED BY: Nick Hare
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract