Fix the slow rotate tensor
The rotate tensor function is very slow.
Possible fixes:
- Precalculate the rotation tensors.
- See if einsum path can be optimized.
- Write own numba function
Edited by Paul Erhart
The rotate tensor function is very slow.
Possible fixes: