#2452: [with patch, needs work] Heaviside step function, Dirac delta needed
-----------------------------------------+----------------------------------
 Reporter:  gfurnish                     |       Owner:  gfurnish             
     Type:  enhancement                  |      Status:  assigned             
 Priority:  major                        |   Milestone:  sage-4.1             
Component:  symbolics                    |    Keywords:                       
 Reviewer:  David Joyner, Burcin Erocal  |      Author:  Golam Mortuza Hossain
   Merged:                               |  
-----------------------------------------+----------------------------------

Comment(by rlm):

 The second patch needs to be rebased. The following hunk fails, applying
 to my 4.1.rc0 branch:
 {{{
 --- random_tests.py
 +++ random_tests.py
 @@ -202,12 +202,11 @@

          sage: from sage.symbolic.random_tests import *
          sage: random_expr(50, nvars=3,
 coeff_generator=CDF.random_element)
 -        ceil(arctanh(-sinh(v2)/floor(-(0.615863165633 +
 0.879368031485*I)*v1^2*v3) - gamma(pi) + floor(-(0.708874026302
  - 0.954135400334*I)*v3)))^sinh(arctan2(arcsinh((0.723896589334 +
 0.799038508886*I)*(v2 + 0.913564344312 + 0.08980401603
 36*I)*v2), -1/v3)/(v3/v2 + 1.36062750308 - 1.05383406182*I))
 +        arctanh(sinh(-arcsech(v2)/floor(-(0.615863165633 +
 0.879368031485*I)*v1^2*v3) - gamma(pi) + floor(-(0.708874026
 302 - 0.954135400334*I)*v3)))^arcsech(-cosh(-polylog((v2 + 0.913564344312
 + 0.0898040160336*I)^(-(0.723896589334 - 0.799
 038508886*I)*v2),-v1 - v3))/sin(-(0.0263902659909 +
 0.153261789843*I)*arctan2(pi, e^pi)))
          sage: random_expr(5, verbose=True)
 -        About to apply sec to [1]
 -        About to apply exp to [sec(1)]
 -        About to apply <built-in function mul> to [e^sec(1), v1]
 -        v1*e^sec(1)
 +        About to apply <built-in function add> to [v1, v1]
 +        About to apply <built-in function div> to [-1/3, 2*v1]
 +        -1/6/v1
      """
      vars = [(1.0, sage.calculus.calculus.var('v%d' % (n+1))) for n in
 range(nvars)]
      if ncoeffs is None:
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2452#comment:21>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to