Sympy
Symbolic manipulation over non-numeric types
I\'m interested in a python library that permits symbolic manipulation where the symbols and can be unknowns of an arbitrary type.[详细]
2023-04-08 03:59 分类:问答How to calculate expression using sympy in python
I need a calcula开发者_JS百科te below expression using sympy in python? exp = \'(a+b)*40-(c-a)/0.5\'[详细]
2023-03-27 14:09 分类:问答Fastest rising factorial (Pochhammer function) in python
I need to compute the rising factorial of big numbers, 开发者_如何学JAVAthe best I found until now is the rising factorial function from the sympy package sympy package, that is really nice, but I wou[详细]
2023-03-25 05:33 分类:问答Automatically populating matrix elements in SymPy
Is there a way to implicitly define the elements of a symbolic matrix in SymPy following a rule such as: symbol followed by subindices in the matrix (or pairs of numbers)[详细]
2023-03-24 09:24 分类:问答Choosing between different expression factorizations in SymPy
Say I have an expression as follows: a*b*c + b*c + a*d One could factorize it as: b*(a*c + c) + (a*d) or as[详细]
2023-03-24 02:39 分类:问答Matplotlib contour isn't working
I\'m trying to plot the batman equation. A solution in sympy or matplotlib will be great (sage isn\'t cool because I\'m using windows). The problem is that if I comment out certain parts the part of t[详细]
2023-03-23 23:16 分类:问答SymPy automatically processes expressions
I have been using SymPy to c开发者_运维百科onvert expressions into latex (to then be rendered by Matplotlib). e.g.[详细]
2023-03-14 14:23 分类:问答Proportionality of parameter and mathematical expression
What is the best way to check if a parameter increase in a mathematical expression increases or decreases the expression as a whole (in Python, preferably SymPy)?[详细]
2023-03-09 00:55 分类:问答Testing equivalence of mathematical expressions in Python
I have got two strings in Python, A m * B s / (A m + C m) and C m * B s / (C m + A m) that are both equivalent functions of the unordered set (A, C) and the unordered开发者_JAVA技巧 set (B). m a[详细]
2023-03-08 16:57 分类:问答error producing SVG from sympy / svgmath
I am trying to render algebra as an SVG using sympy and svgmath. I have the file \'svgmath.xml\' in the root directory. Unfortunately I get: \'ImportError: No module named libxml2\'. I\'m not sure of[详细]
2023-02-16 08:05 分类:问答