Skip to main content

All Questions

1 vote
2 answers
205 views

vectorize an Ax=b solver

A lot of numerical solvers (such as this one), for some reason, only supports solving Ax=b where x, b are vectors. What if I want to solve AX = B, where X and B are matrices. I know numerically one ...
Taylor Fang's user avatar
1 vote
1 answer
810 views

Eigenvectors in Numpy: Very bad numerics? Did I do something wrong?

For some calculations I need an eigenvalue decomposition. Now I tried to evaluate the functions of numpy and noticed that there is a very bad behavior! Look at this: import numpy as np N = 3 A = np....
varantir's user avatar
  • 6,854
3 votes
1 answer
731 views

General product of multiple tensors in python

In python (preferrably under numpy array framework), what is the best way to do product of multiple tensors at once, instead of doing it one-by-one using numpy.tensordot? Let's suppose we need to do ...
Wirawan Purwanto's user avatar