A computer algebra system written in pure Python http://sympy.org/ . To get started to with contributing https://github.com/sympy/sympy/wiki/Introduction-to-contributing
anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function
anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function
Implemented leading term and ns… (compare)
anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function
made changes (compare)
anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function
added tests for leading terms f… (compare)
anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function
Changed the outputs being retur… (compare)
anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function
Changed leading term being ret… (compare)
anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function
Removed Redundant block from le… (compare)
anutosh491 on GSoC_Pr4.3_Implementing_some_series_method_for_uppergamma_lowergamma_expint_and_other_errors_functions
Implemented some series methods… (compare)
anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function
Removed Order term (compare)
anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function
added test cases for limits and… (compare)
anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function
Implemented leading term and ns… (compare)
anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions
anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions
This commit does the following … Refactored mrv_leadterm in grun… Fixed errors arising for limits… and 3 more (compare)
anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions
fix(integrals): handle degenera… functions: Generalised Dirichle… author: update Megan Ly in .mai… and 23 more (compare)
anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions
Changed if condition for bessel… (compare)
anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions
Improved code quality (compare)
anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions
changed is function to equality… (compare)
anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions
fixed failing tests (compare)
anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions
Fixed code quality (compare)
anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions
Added case where number of term… (compare)
Hi there, novice SymPy user here. (Starting to use it as part of teaching maths at a uni.) Before posting this as an issue: I suspect that log_to_real()
does not quite convert complex logarithms to real functions with the same derivative, and - consequently - some anti-derivatives in the real domain are not real.
The issue seems to be that it uses SymPy's log
, which is the prinicipal complex branch extended from the left upper quadrant to the negative half-axis, in other words: log(-1) = I*pi
. In particular:
x = symbols("x", real=True)
integrate(1/x, x)
log(x)
integrate(1/x, x).subs(x, -1)
I*pi
This seems to come from the fact that log_to_real()
returns log
for log
, which is not a real function having the same derivative: That would be log(abs). Both functions differ by a locally (!) constant non-real function and (thus) have the same derivative. Only log(abs) is a real function.
Now, SymPy is either not really happy with abs or I'm holding it wrong:
diff(log(abs(x)), x)
sign(x)/Abs(x)
And this should simplify to 1/x
(in the reals) but does not. Are my assumptions wrong?
Hello everyone,
I am having trouble preventing expressions with brackets getting evaluated, would greatly appreciate any help on this issue thread on github
Hi all, I am trying to port this - http://angg.twu.net/eev-maxima.html#luatree - from Maxima to SymPy. Most of the work is done, but I need some help to write a function "isatom" that works correctly... here is how it should work: after running this,
from sympy import Function, Symbol, dsolve
f = Function('f')
x = Symbol('x')
od = f(x).diff(x, x) + f(x)
then isatom(5), isatom("foo"), isatom(x), and isatom(f) should all return True, but isatom(od) should return False...
This almost works:
from sympy import Function, Symbol, AtomicExpr
isatom = lambda o: isinstance(o, int) or isinstance(o, str) or isinstance(o, AtomicExpr)
but in the test above f is an "UndefinedFunction", and all my attempts to make a version of isatom that recognizes UndefinedFunctions as atoms have failed. Any hints?...