Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 15:30
    nik-sm starred sympy/sympy
  • 14:57
    github-actions[bot] commented #23512
  • 13:56
    jksuom commented #23494
  • 13:50
    oscarbenjamin labeled #23512
  • 13:50
    sympy-bot commented #23512
  • 13:50
    oscarbenjamin edited #23512
  • 13:44
    sympy-bot commented #23512
  • 13:44
    oscarbenjamin reopened #23512
  • 13:44
    oscarbenjamin closed #23512
  • 13:44
    oscarbenjamin auto_merge_disabled #23512
  • 12:47

    eagleoflqj on master

    Fix_23401 simplify logic Merge pull request #23493 from … (compare)

  • 12:47
    sympy-bot commented #23493
  • 12:47
    eagleoflqj closed #23493
  • 12:47
    eagleoflqj closed #23401
  • 12:45
    oscarbenjamin auto_merge_enabled #23512
  • 12:38
    github-actions[bot] commented #23512
  • 12:24
    sympy-bot commented #23512
  • 12:24
    oscarbenjamin synchronize #23512
  • 11:27
    sympy-bot commented #23512
  • 11:27
    oscarbenjamin synchronize #23512
ronanpaixao
@ronanpaixao
import sympy
from sympy.core.evaluate import evaluate
from sympy import latex
from IPython.display import display
sympy.init_printing(use_latex='mathjax')

X, mu, sigma, n = sympy.symbols("\bar{X} \mu \sigma n")
with evaluate(False):
    eq = (X-mu)/(sigma/sympy.sqrt(n))
    display(eq)
More like it...
This gives a RecursionError
Any ideas on where the problem is?
yashraj-code
@yashraj-code
Hi everyone my name is Yashraj Dhanuka pursuing B.tech in CSE 3rd year. I would like to contribute in the community .I know basic Python,c++,and Machine Learning. and yes particularly interested in maths too. Can anyone guide me on how to contribute to this community. ThankYou
yashraj-code
@yashraj-code
any mentors ?
Kalevi Suominen
@jksuom
@yashraj-code This should help you getting started: https://github.com/sympy/sympy/wiki/Introduction-to-contributing.
Arnav
@nigamarnav
Hello guys! can anyone help me to find out the way how to contribute in this era as I am a newcomer.
Bunnyyyyy
@Bunnyyyyy
Hey guys, Please someone help me in better understanding of GSoC !
Aaron Meurer
@asmeurer
@ronanpaixao hard to say without seeing the traceback. Can you open an issue with the traceback (trim down the repeated lines first)
ronanpaixao
@ronanpaixao
@asmeurer Filed #15182
Bunnyyyyy
@Bunnyyyyy
Any mentor up here ?.....Please help me in better understanding of GSoC !
Bunnyyyyy
@Bunnyyyyy
Any mentors ?, Please reply.
This may help you
Bunnyyyyy
@Bunnyyyyy
Thanks, So how can I contribute to sympy ?.... Please help me !
Malkhan Singh
@Malkhan52
@Bunnyyyyy I gave a talk in my institute (NITR) last week on How to start contributions in open source projects, ping me I can provide link of that slide.
Bunnyyyyy
@Bunnyyyyy
@Malkhan52 Sir, what do you mean by ping ?
V Gladkova
@valglad

@Bunnyyyyy there is a link attached to the top of this chat with information for people new to contributing: https://github.com/sympy/sympy/wiki/Introduction-to-contributing

"ping" means attract one's attention and in this case probably suggests that you send a private message to the person

Bunnyyyyy
@Bunnyyyyy
Thank you :)
Jason K. Moore
@moorepants
Is there something similar as @doctest_depends_on for normal test functions?, i.e. @test_depends_on('numpy') or something like that?
Kalevi Suominen
@jksuom
I don't think that there is. The issue is handled in code as e.g. in test_sympify:
numpy = import_module('numpy')

def test_issue_10295():
    if not numpy:
        skip("numpy not installed.")
Jason K. Moore
@moorepants
@jksuom Thanks. We should turn that into a decorator.
Ayushman Koul
@ayushmankoul
Hello @jksuom I hope you are doing well. As asked by you to go through how matplotlib works I went through it to know how to write code for plotting line segments.Now coming back to issue, if I am not wrong I need to write a new method for plotting line segment and triangles inside class Plot in plotting/plot module ? Please guide me so that I can proceed further to it.Thanks
Kalevi Suominen
@jksuom
It seems that most objects to be plotted are subclasses of BaseSeries.
Micah
@micahscopes
Hi there, I'd like to understand how best to compose multilinear maps of symbolic elements in sympy
so far I've been doing it the hard way
which is to make lists of multivariate polynomials, iterating over them and substituting, then sorting
I'm still a kindergartner at tensor algebra
but I'm learning
it seems like some kind of tensor representation would be ideal for this
so the specific objects I'm interested in currently are finite k-algebras, which I'm "harvesting" from sage
the core of each finite k-algebra is its product, which is a "bilinear map" V×VVV \times V \rightarrow V
so in sympy, I'm representing these as lists of multivariate expressions
Micah
@micahscopes
this is a very simple way of representing these products, but when I want to compose these functions, it makes things difficult
Micah
@micahscopes
An example: say I have a (real) vector space MM, whose vectors represent matrices in some finite dimensional real matrix algebra, and a (real) vector space CC, whose members represent complex numbers, then I have a map f:M×MMf:M \times M \rightarrow M, the matrix algebra product, and another map g:C×CCg:C\times C \rightarrow C, the product of complex numbers.
Now, I'd like to compose these products to make a matrix algebra over the complex numbers
Micah
@micahscopes
so I know from wikipedia that formally, what I'm trying to do is some kind of tensor product... I think a "tensor product of algebras" (https://en.wikipedia.org/wiki/Tensor_product_of_algebras). but while it's easy enough to comprehend a tensor product of vector spaces, I'm still trying to understand how to apply this in sympy
Micah
@micahscopes
ahh, I'm reading now that this is also called "base change"
Kalevi Suominen
@jksuom
@micahscopes How are you planning to represent the (bilinear?) map f:M×MMf: M \times M \to M?
Bjorn
@bjodah
Micah
@micahscopes
@jksuom currently I've just been making a list of symbolic multivariate polynomial expressions. The symbols are the components of the two input vectors, E. G. f([u_1, u_2,... , u_n], [v_1, v_2,... , v_n]) would return a list of polynomials of terms from the u and v lists.
In Sage, you can construct algebras over a SymbolicRing, then take the product of two symbolic vectors and convert the result to a list of sympy expressions
(after that I'm using the glsl code printer in sympy)
Kalevi Suominen
@jksuom
A bilinear map like f:M×MMf: M\times M \to M corresponds naturally to a rank three tensor.
A (1, 2) -tensor actually, I think.
Micah
@micahscopes
@jksuom that makes sense... so if I figure out how to represent my algebras as (1, 2)-tensors, I should also be able to find a way, using tensor algebra, to more easily compose them
Kalevi Suominen
@jksuom
I think that is true though I'm not sure what you mean by 'compose'.
Micah
@micahscopes
I'm not sure either, I don't think "compose" is the mathematically correct term, but I'd like to do multiple "base changes"