#2452: [with patch, needs review] Heaviside step function, Dirac delta needed
-------------------------+--------------------------------------------------
Reporter: gfurnish | Owner: gfurnish
Type: enhancement | Status: assigned
Priority: major | Milestone: sage-4.1
Component: symbolics | Keywords:
Reviewer: | Author:
Merged: |
-------------------------+--------------------------------------------------
Comment(by gmhossain):
Replying to [comment:17 burcin]:
> Now I suggest using `CIF(x).imag() == 0` where `x` is the element you
want to test for.
Thats great. It now works much faster even for very very small numbers.
Here are the
changes in the updated patch:
'''(1)''': _is_real(x) removed
'''(2)''': CIF(x) is now being used
'''(3)''': Notes on finite precision size removed.
'''(4)''': new doctests for very small numbers added
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2452#comment:18>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---