You will probably need a while scan with some termination condition that depends on the exact series you’re summing. If you can write it in numpy, you can write it in PyTensor.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Optimizing Fourier Series Model | 0 | 810 | March 17, 2020 | |
| PyMC3 : Using a parameter as a limit of integral | 6 | 2859 | July 1, 2018 | |
| Iterating over Tensors - pytensor.scan | 8 | 750 | June 7, 2023 | |
| How to use pytensor's scan function | 5 | 1607 | February 27, 2023 | |
| Sample within theano.scan? | 5 | 1685 | August 20, 2018 |