-
I would like to use the commutative=False argument to symbols to make sure
my expressions aren't arbitrarily re-arranged. But in the case of boolean expressions,
I get some un-anticipated behavior.…
-
Sympy v1.5.1.
I have a few examples and I'm not sure if the output is correct, so if I'm wrong please say so...
```
h = sp.Function("h")
h.is_commutative
>>>
```
Here I was expecting `No…
-
Consider the following expression
```
a, b, c = sympy.symbols('a b c', commutative=False)
(a * b + a * c).simplify()
```
which returns `a * b + a * c` instead of `a * (b + c)`. Is there any rea…
-
**V version:** V 0.2.2 bf623e1
**OS:** linux
**What did you do?**
```v
enum Enum { a b }
fn test(x Enum) bool {
return .a == x
}
dump(test(.a))
```
**What did you expect to see?**
…
-
Sounds like a great idea :)
-
```python
import aesara
import aesara.tensor as at
x, y = at.scalars("x", "y")
f = aesara.function([x, y], [x + y, x + y, y + x, y + x])
aesara.dprint(f)
```
```python
DeepCopyOp [id A] ''…
-
I work with some massive polynomials (close to 4000 terms) and when calling `gcd` I get the following error
```
ERROR: LoadError: DivideError: integer division error
Stacktrace:
[1] div
@ .…
-
Computing the kernel of a ring map between graded commutative rings is not supported;
```
i1 : E = QQ[x,y,z, SkewCommutative=>true]
o1 = E
o1 : PolynomialRing, 3 skew commutative variables
…
-
@onoderat has moved us forward finally in the Non-diagonal SDE department, and so we should think about creating some benchmark notebooks in this area.
-
One of the properties that you'd expect is that the order of the arguments doesn't matter, ie ``fuzz.ratio(A, B) == fuzz.ratio(B, A)`` for all strings ``A`` and ``B``. This property is also listed at …