Message Boards Message Boards

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

Possible bug in evaluation of purely symbolic product?

Posted 10 years ago

Hello,

The following expression:

Product[0, {i, 0, -1}]

Evaluates to 1, as it should. However

Product[0, {i, 0, k}]

Is immediately evaluated to 0, which seems odd to me.

So does this make sense or is this a bug?

3 Replies
POSTED BY: Daniel Lichtblau

What do you think zero multiplied by itself k times should be?

POSTED BY: Frank Kampas

Thanks Daniel, I guess I learned to consult the documentation before assuming it's a bug

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