-
```python
import sympy
from qualtran import QUInt
from qualtran.bloqs.arithmetic import Add
from qualtran.drawing import show_call_graph
n = sympy.symbols('n')
bloq = Add(QUInt(n))
g, _ = bloq.…
-
We intend to implement asymptotic expansions in SageMath. We would like to do computations with simple expansions such as
n2 + n3/2 + O(n1/2),
but also with expansions such as
2n * n + O(n*log(n)…
-
Related: #8165 and #8175.
In the cheatsheet, `limit(f, x, a)` refers to `\lim_{x->a}f(x)`, as opposed to `limit(f, x, a, dir='+')`, which refers to `\lim_{x->a^+}f(x)`. This is misleading, as one (li…
-
A thorough revision of the "Manual" section of the documentation is needed. There is no transition between the different sections and some important features are only found in the Library (API Referen…
-
```
Test terms and equations using the method of manufactured solutions (MMS).
Briefly, the MMS involves the following steps:
1. assume a particular solution (e.g. u = sin(x) * cos(y))
2. analytical…
-
### 🐛 Describe the bug
When attempting to export the UDOP model to ONNX from the transformers library, the torch.onnx.export() command fails with a RuntimeError. Below is a minimal example to repro…
-
## Summary
in a general path tracing using recorded loop, why is that if i call a numpy transform would change the property of intersection.
for each, if i call
`a = np.array(si.wi) # wi …
-
*One Ring to rule them all.*
This task ticket aims at discussing and reorganizing the ways to implement an abstraction of the field of real numbers (resp. complex numbers), as well as its interacti…
-
I'm writing a computer algebra system that uses `nalgebra::base::Matrix` as a generic matrix/vector type. Matrix coefficients can be arbitrary symbolic expressions, implying that they are not necessar…
p-e-w updated
2 years ago
-
This is a meta-ticket about piecewise functions.
Fractional part, modulo, ...:
- #9935: Make a symbolic mod function
- #21232: Fractional part function {x}
- #21274: frac(x) immediate simplificatio…