Group Abstract Group Abstract

Message Boards Message Boards

Code taking too long time to compute

POSTED BY: Ananth Krishna

Your computeEntropy function gives complex outputs. This way the condition Abs[Snew - Sold]/Snew < tolerance never becomes True, because Snew is complex.

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