In Sage, is there any way (function call) to check whether a given expression will produce division by zero error. Is something like the following possible?
if IsDivisionByZero(expr): return False
You can use Python
This is what the output looks like when giving various inputs into these two functions.
You can use
Asked: Dec 08 '10
Seen: 216 times
Last updated: Dec 09 '10
powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.