-
Tested with Sympy version 1.0.
Consider these two slightly different systems of polynomial equations:
``` py
import sympy
c,x,y,z = sympy.var('c x y z', real=True)
k = sympy.var('k', real=True)
S1 =…
-
GCD for polynomials is an important operation for computing sums of polynomial ratios A(x)/B(x) + C(x)/D(x). The naive approach to computing GCD(B(x),D(x)) is numerically ill-conditioned:
```
import …
-
```
I propose to reverse the order of polynomial coefficients used by polyval
etc. It was changed to the present order for compatibility with Matlab and
SciPy, but I find this convention annoying ever…
-
Is there a way to use SymPy to compute a matrix's characteristic polynomial (`charpoly`) over a finite field (such as GF(2))? If not, can this be added?
The same applies to other matrix operations…
-
We aim to implement the algorithm given in [https://arxiv.org/pdf/1304.1201.pdf](https://arxiv.org/pdf/1304.1201.pdf) to compute the minimal resultant locus using number fields.
Given a dynamical s…
-
Same symbolic expressions written in form of add and mul are not equated as equal.
For instance:
```
r1 = add(im2, mul(i2, x));
r2 = mul(i2, add(im1, x));
assert(eq(r1, r2));
```
fails. …
-
When I enter some parameter values into a complicated expression (with multiple fractions, often nested and multiplied with each other), the resulting transfer function will often have coefficients li…
-
an engimatic, self bootstrapping, self creating, self manifesting,
self replicating,emoji based, quine,
meta meme, open source, lisp based,
artificial life, genetic …
-
```
import sympy
x, y, z, e1, e2, c1, c2, c3, c5, s1, s2, s3, g1, g2 = sympy.symbols("x y z e1 e2 c1 c2 c3 c5 s1 s2 s3 g1 g2")
fx = x*(x - 1)*(c1 + c2*y*z - c2*y - c2*z - e1 - e2*y*z + e2*y +…
-
Hi all,
I'm a systems/security researcher at Virginia Tech and have been studying the incidence of vulnerable regexes in the wild.
This plugin's [unsafe regex detector](https://github.com/nodese…