Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 12 01:39

    anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function

    (compare)

  • Sep 11 12:19

    anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function

    Implemented leading term and ns… (compare)

  • Sep 10 03:21

    anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function

    made changes (compare)

  • Sep 08 06:28

    anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function

    added tests for leading terms f… (compare)

  • Sep 08 03:43

    anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function

    Changed the outputs being retur… (compare)

  • Sep 07 09:34

    anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function

    Changed leading term being ret… (compare)

  • Sep 07 07:27

    anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function

    Removed Redundant block from le… (compare)

  • Sep 07 02:44

    anutosh491 on GSoC_Pr4.3_Implementing_some_series_method_for_uppergamma_lowergamma_expint_and_other_errors_functions

    Implemented some series methods… (compare)

  • Sep 06 16:44

    anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function

    Removed Order term (compare)

  • Sep 06 11:39

    anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function

    added test cases for limits and… (compare)

  • Sep 06 10:51

    anutosh491 on GSoC_Pr4.2_Implementing_leading_term_and_series_methods_for_the_frac_function

    Implemented leading term and ns… (compare)

  • Sep 06 10:40

    anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

    (compare)

  • Sep 06 04:13

    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)

  • Sep 06 02:08

    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)

  • Sep 05 14:16

    anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

    Changed if condition for bessel… (compare)

  • Sep 05 02:49

    anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

    Improved code quality (compare)

  • Sep 03 10:24

    anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

    changed is function to equality… (compare)

  • Sep 03 10:14

    anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

    fixed failing tests (compare)

  • Sep 01 12:23

    anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

    Fixed code quality (compare)

  • Sep 01 12:00

    anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

    Added case where number of term… (compare)

Micah
@micahscopes
I'd like to be able to construct some of these division algebras: https://core.ac.uk/download/pdf/25253839.pdf
Kalevi Suominen
@jksuom
Those tensor products of algebras can be represented by products of tensors (taking proper care of the indices).
Ayushman Koul
@ayushmankoul
@jksuom As you pointed if I am not wrong we need to amend subclasses of BaseSeries containing 2D lines series.Please can you tell me how should I proceed further on this issue ?
Kalevi Suominen
@jksuom
You could probably start by adding methods that would create instances of List2DSeries to some geometric classes such as Segment and Triangle, and also Polygon. (Those could then be appended to a suitable Plot object for showing.)
Micah
@micahscopes
@jksuom I think I'm starting to get some intuition for this idea
Kalevi Suominen
@jksuom
The components aijka_{ijk} of the tensor associated with the bilinear product in an algebra can be found as follows. If (ei)(e_i) is a basis of the algebra, then the components are the coefficients of the pairwise products eiej=kaijkeke_i e_j = \sum_k a_{ijk} e_k.
Kalevi Suominen
@jksuom
For example, if C\Bbb{C} is considered as an R\Bbb{R}-algebra with basis (1,i)(1, i), then a110=1a_{110}=-1 is the coefficient of 11 in iiii and a111=0a_{111}=0.
Micah
@micahscopes
@jksuom !thank you so much!
basically then, to construct the tensor of a finite k-algebra, I just need to get the coefficients in k of pairwise products of basis elements of the algebra
Micah
@micahscopes
I think I need to really play with the summation notation
(and the concept of summation/contraction)
Kalevi Suominen
@jksuom
It seems to me that tensor.array might be the best module for handling algebras and their tensor products.
Micah
@micahscopes
yeah, that's my intuition too. I didn't realize how malleable tensor contraction could be... basically it's very important to keep track of the indices
the indices aren't inherently ordered, so it's gonna be up to me to keep them structured
I had been getting caught up on thinking about duality and covariance/contravariance, but for this problem it's maybe not so necessary to worry about that aspect for now
Micah
@micahscopes
by the way... one of my motivations for this is to be able to do automatic differentiation with "dual numbers". have you heard of this?
Kalevi Suominen
@jksuom
It is a standard construction in algebra. To any ring AA, one can associate the "dual ring" A[δ]A[\delta] where δ2=0\delta^2 = 0.
Micah
@micahscopes
awesome
I didn't realize that
what is that square bracket notation?
is that a "ring extension"?
Kalevi Suominen
@jksuom
Yes, extension of AA by δ\delta.
Its elements are polynomials in δ\delta with coefficients in AA. In this case, only linear polynomials.
Micah
@micahscopes
that makes sense
you can use the dual ring to do automatic differentiation
in my case, I'd like to use it to render fractals made out of clifford algebras and other interesting algebras
with automatic differentiation, you can create a "distance estimator" that can be used to render the surface of a fractal set
(theoretically)
so far I've only been able to render these fractals using a "brute force" approach, which actually goes and tests each point to see if it's in the fractal
this doesn't scale well for large dimensional algebras
Abhigyan Khaund
@abhigyank
Hey, I am trying to plot a scatter of points using the Plot module in sympy. From the documention I am unable to figure out how do I plot a scatter of points as we do in matplotlib.
I have 2 arrays; call them A and B. I can do a scatter plot using matplotlib like this:
plt.plot(A,B)
How do I do the same in Sympy?
Aaron Meurer
@asmeurer
Sympy only deals with plotting of sympy expressions. If you want to plot a dataset, you should use matplotlib, just as you have already done
Abhigyan Khaund
@abhigyank
Ok thanks!
Is there a way to plot the dataset in matplot lib and plot the sympy expression using sympy and somehow display the two plots in a single window?
Aaron Meurer
@asmeurer
I think you might be able to access the figure from the sympy plot. I'm not sure.
Another way is to lambdify the sympy expression and plot it manually with np.linspace
udit4
@udit4
Hello all, i am new to the SymPy project.. Can anyone help me where can i find complete documentation of SymPy and some other relevant sources, so that i can get some more insights about project and then start contributing to the same. Thanks in advance.
Malkhan Singh
@Malkhan52
I would recommend before start contribution go through documents and tutorials, you will definitely get idea how to start contribution
udit4
@udit4
@Malkhan52 thank you so much..
Kalevi Suominen
@jksuom
25 in sieve is a membership test operation in Python. It evaluates to False as sieve is the list of prime numbers and 25 is not a prime.
S.Y. Lee
@sylee957
Hello, I want to write a test case to check if a certain function is called.
But I the closest one I could find, is to make an arbitrary function which can raise a mock exception when called, and catching up via raises().
However, I think this method cannot be used to check whether the function can call any default APIs from sympy.
I need some help about this
Sudarshan Kamath
@sudz123

Hi while running the doc tests, there are a sequence of tests which give :

"ttk::ThemeChanged"
can't invoke "event" command: application has been destroyed
    while executing
"event generate $w <<ThemeChanged>>"
    (procedure "ttk::ThemeChanged" line 6)
    invoked from within

namely test_plot.py and test_plot_implicit.py . Are these necessary if the application has been destroyed? Or can they be removed?

Kalevi Suominen
@jksuom
@sylee957 What kind of test are you thinking of. Is it not possible to run the code in a debugger to see if a function is called?
S.Y. Lee
@sylee957
@jksuom
It is about testing an higher order function, that it really can call a specific method in regards to parameters or keywords passed.
There are some examples like #15207, where a higher order function can set a specific internal function to call,
and I want to figure out how to write tests for such cases, so that such functions like _iszero() or simplify() is really called once inside the routine.
Kalevi Suominen
@jksuom
I think that it would suffice to test this locally. You could temporarily add statements like print("_eval_det_bareiss: iszerofunc = ", iszerofunc.__name__) to see that everything works as expected.