GSoC 2020 - Week 9
07 Aug 2020Key highlights
of this week’s work are:
-
Fixed periodicity of trigonometric function
- This was a long pending issue. The
_peeloff_pi
method ofsin
had to be rectified to reduce the symbolic multiples of pi in trigonometric functions. As a result of this fix, nowsin(2*n*pi + 4)
automatically evaluates tosin(4)
, whenn
is aninteger
.
- This was a long pending issue. The
-
Fixed limit evaluations related to trigonometric functions
- In this PR, we added
_eval_nseries
method to bothsin
andcos
to make the limit evaluations more robust when it comes to trigonometric functions. We also added a piece of code tocos.eval
method so that thelimit of cos(m*x)
, wherem
isnon-zero
, andx
tends tooo
evaluates toAccumBounds(-1, 1)
.
- In this PR, we added