by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 14:31
    Soumi7 synchronize #20147
  • 14:30
    Soumi7 synchronize #20147
  • 13:49
    moorepants commented #20131
  • 12:58
    moorepants commented #20160
  • 12:55
    sidhu1012 commented #20131
  • 12:52
    moorepants commented #20160
  • 12:16
    sidhu1012 commented #20160
  • 11:54
    moorepants commented #20160
  • 11:52
    moorepants labeled #20160
  • 10:39
    tbennun opened #20161
  • 10:17
    codecov[bot] commented #20159
  • 10:09
    tonyfettes starred sympy/sympy
  • 09:24
    sidhu1012 edited #20160
  • 09:19
    sidhu1012 commented #20157
  • 09:17
    sympy-bot commented #20159
  • 09:17
    sidhu1012 edited #20159
  • 09:10
    sidhu1012 commented #18956
  • 09:09
    codecov[bot] commented #20159
  • 09:07
    Soumi7 synchronize #20147
  • 08:23
    sidhu1012 commented #18956
Vishesh Mangla
@XtremeGood
90*60 should have been done
image.png
also this too
ThePauliPrinciple
@ThePauliPrinciple
that last equation looks implified?
*simplified
what were you expecting it to look like?
Vishesh Mangla
@XtremeGood
decimal
Vishesh Mangla
@XtremeGood
sorry had a test and needed to go
ThePauliPrinciple
@ThePauliPrinciple
Your expectation is wrong
It will not do that
It will keep it as a fraction
ThePauliPrinciple
@ThePauliPrinciple
When we use lambdify, is there any way to inspect the generated code?
Ehren Metcalfe
@ehren
@ThePauliPrinciple https://docs.sympy.org/latest/modules/utilities/lambdify.html has an example with inspect.getsource(lambdified_func)
ThePauliPrinciple
@ThePauliPrinciple
Thanks! This is perfect
Helps a ton with debugging when it " doesn't work"
ThePauliPrinciple
@ThePauliPrinciple
def _lambdifygenerated(x, w, b): y = b + tensorflow.linalg.einsum('...i,...ij->...j',x,w) y = tensorflow.math.tanh(y) return y
looks like it is working now
uhm... weird format
def _lambdifygenerated(x, w, b):
y = b + tensorflow.linalg.einsum('...i,...ij->...j',x,w)
y = tensorflow.math.tanh(y)
return y
def _lambdifygenerated(x, w, b): y = b + tensorflow.linalg.einsum('...i,...ij->...j',x,w) y = tensorflow.math.tanh(y) return y
don't understand why it doesn't print newlines
def _lambdifygenerated(x, w, b):
    y = b + tensorflow.linalg.einsum('...i,...ij->...j',x,w)
    y = tensorflow.math.tanh(y)
    return y
Got it
Eva Tiwari
@evatiwari
Hello, I am a newcomer. I had found out this slight issue while using sympy today:
It would be nice if someone helped me out with this
Bhaskar Joshi
@BhaskarJoshi-01
Hi everyone! I am a beginner to the Open Source Community. Could I ask my doubts regarding setting up the environment in this forum? Could anyone tell me the use of "anaconda" we are using here? I have installed it, but I think all the tasks could be done without it, right?
ThePauliPrinciple
@ThePauliPrinciple
In principle yes
The nice thing about anaconda is that you can set up different environments, where different version of python/site packages are installed and you can switch between those environments with a simple command
Bhaskar Joshi
@BhaskarJoshi-01
@ThePauliPrinciple Thanks a lot for clearing my doubt.
ThePauliPrinciple
@ThePauliPrinciple
In general, if a program exists to do something, you can make/do it yourself too, it is just a matter of convenience
Ashton Bradley
@AshtonSBradley
I am trying to understand how much Rubi is used in SymPy. Can anyone enlighten me https://rulebasedintegration.org/downloadRubi.html
Ramanathi
@Ramanathi
Screenshot from 2020-09-20 22-57-59.png
Hello community!!. I'm new here. I have got this after testing using /bin/test. So Is it correct? or do I have to install other dependencies?
Ehren Metcalfe
@ehren
@Ramanathi that looks good. You'll get a "do not commit" message if a test failed.
Bhaskar Joshi
@BhaskarJoshi-01
Hey!! I think I solved an issue that was mentioned in the Issues section and I want to make a PR for that issue . So Could anyone guide me ? Issue is " Simplify x**2 / abs(x) to abs(x) if x is real #20108 " and Link is " sympy/sympy#20108 "
Bhaskar Joshi
@BhaskarJoshi-01
Should I tag sympy-bot and ask for the issue to be assigned to me?
Ramanathi
@Ramanathi
@ehren Thank you.
Ramanathi
@Ramanathi
Hello everyone!!. Most of easy to fix's are commented, So does it mean that somebody is working on those issues ?. Also can anyone suggest the good way of selecting issues to work on ?
Aryan Anand
@aryan-anand
Hello everyone,
I am completely new to Open source.Can anyone help me to get started?
ThePauliPrinciple
@ThePauliPrinciple
display(S('(-3*Z_A+3*Z_B-3*x**3/d**2)/d**3').subs(S('Z_B-Z_A'),S('z')))
display(S('(3*z-3*x**3/d**2)/d**3'))
any idea why the substitution isn't happening?
second line is what I expected it to be
Happens even like this: display(S('2*Z_B-2*Z_A').subs(S('Z_B-Z_A'),S('z')))
ThePauliPrinciple
@ThePauliPrinciple
If I use 1 instead of 2 for the number I multiply it with it does replace it
Ramanathi
@Ramanathi

Hello everyone!!. Most of easy to fix's are commented, So does it mean that somebody is working on those issues ?. Also can anyone suggest the good way of selecting issues to work on ?

Anyone?

ThePauliPrinciple
@ThePauliPrinciple
The people actively developping sympy seem to be in here a couple of times per week, so you might have to wait a bit for an answer (if getting it at all)
almighty123789
@almighty123789
Can anyone explain as to how run my own modified code of sympy on my pc? I followed the online documentation creating a new environment on conda but to no avail. I use VS code as my code editor.
Sayandip Halder
@sayandip18

Can anyone explain as to how run my own modified code of sympy on my pc?

@almighty123789 You have to install Sympy from git if you want to run your own version. See this.

Fabio Luporini
@FabioLuporini
This message was deleted