## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
• 19:35
parsarahimi edited #23525
• 19:35
parsarahimi edited #23525
• 19:34
parsarahimi opened #23525
• 19:28
parsarahimi opened #23524
• 19:26
DevJake starred sympy/sympy
• 19:22
asmeurer commented #23523
• 18:20
asmeurer commented #23488
• 17:54
github-actions[bot] commented #23507
• 17:35
kloczek opened #23523
• 17:02
github-actions[bot] commented #23522
• 16:46
yash1th starred sympy/sympy
• 16:45
KuldeepBorkar commented #23507
• 16:43
KuldeepBorkar commented #23507
• 16:41
github-actions[bot] commented #23522
• 16:36
sympy-bot commented #23507
• 16:36
KuldeepBorkar edited #23507
• 16:31
sympy-bot commented #23507
• 16:31
KuldeepBorkar edited #23507
• 16:25
sympy-bot commented #23507
• 16:25
KuldeepBorkar synchronize #23507
Aaron Meurer
@asmeurer
I think it's not as bad as 2011 because of some of the changes they've made, but as far as I can tell it's still a lot of work.
And also remember that the program is for kids (13-17 year olds).
If you do have the time to put into it I would say it's worth it, though. You can get some very smart kids out of the program.
ronanpaixao
@ronanpaixao
Hi guys! I'm having some trouble using display() in the Jupyter notebook:

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)

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
ronanpaixao
@ronanpaixao
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
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
Bunnyyyyy
@Bunnyyyyy
Malkhan Singh
@Malkhan52
Bunnyyyyy
@Bunnyyyyy
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 ?

@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 \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 $M$, whose vectors represent matrices in some finite dimensional real matrix algebra, and a (real) vector space $C$, whose members represent complex numbers, then I have a map $f:M \times M \rightarrow M$, the matrix algebra product, and another map $g: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 \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)
Micah
@micahscopes