# Questions tagged [vectorization]

For questions about converting multiple operations a single "vectorized" operation. Example questions might include how to alter code to ensure certain "vectorized" instructions are used.

4 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
82 views

### Solving tridiagonal Toeplitz system using SIMD instructions

I need to solve many small Toeplitz systems that fit entirely in cache, meaning the computation is compute bound. Are there vectorizable algorithms for this? I found a few older articles: (https://www....
• 21
1 vote
48 views

### Converting an expression into an einsum

I have the following expression that I need to calculate for some matrices: $$\sum_{k}c_{t,i,k}\sigma^\prime\left(w_tX_t+b_t\right)_k\left(\sum_\ell w_{t,k,\ell}\tilde{X}_t^{w,\ell}\right)$$ I could,...
• 111
1 vote
I need to implement the following in python: For a given discrete time series $Z_t$ ($t={0...T}$), find the smallest $t$ such that: $$c\sum_{s=0}^t e^{[k(Z_t-Z_s)+m(t-s)]} \geq \frac{p^*}{1-p^*}$$ ...