I'm using the symbolic package sympy to store a $10 \times 10$ antisymmetric matrix in terms of $10$ variables, and then at every iteration step, I substitute numerical values into the entries of the matrix. however, it's taking too long to substitute values because the symbolic expressions are very complicated. It takes around $100$ seconds for the every substitution and I need at least $10,000$ iterations to get a meaningful result.
So, I was wondering whether there is any speedy way to substitute the values. Right now, I'm just substituting values into the top diagonal half of the matrix, which halves the number of substitutions, but it's still taking too long.