On Wed, Oct 9, 2013 at 9:47 PM, Aaron Meurer <[email protected]> wrote:
> Piecewise defined functions aren't the only functions that aren't
> continuous. Functions can have discontinuities simply by dividing by 0
> (this will produce either a removable or infinite discontinuity).
> Also, some functions are discontinuous by definition, like Heaviside.
> And that's not to mention functions that aren't differentiable (for
> instance, the minimum of abs(x) is 0, which is not a differentiable
> point on the function).
>
> I think to do this right, a prerequisite would be a function that
> returns on what interval a function is continuous, which has been
> requested many times.

Isn't the best way to do it like in calculus:

* return all critical points (zero derivative, discontinuity or the
end points of the given interval)

* evaluate at critical points and take the minimum

Ondrej

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to