Seems it returns "nan" with big matrix >>100
1000x1000
Eigenvector squared calculated by...
numpy: 1.2163269368593035e-08
new-fancy: nan
/usr/local/lib/python3.6/dist-packages/numpy/core/fromnumeric.py:90: RuntimeWarning: overflow encountered in reduce
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
/usr/local/lib/python3.6/dist-packages/ipykernel_launcher.py:22: RuntimeWarning: invalid value encountered in double_scalars
Seems this simple algorithm is not appropriate for real use. It's extremely slow and and isn't tuned.
Just nice math fact.
Seems it returns "nan" with big matrix >>100
1000x1000
Eigenvector squared calculated by...
numpy: 1.2163269368593035e-08
new-fancy: nan
/usr/local/lib/python3.6/dist-packages/numpy/core/fromnumeric.py:90: RuntimeWarning: overflow encountered in reduce
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
/usr/local/lib/python3.6/dist-packages/ipykernel_launcher.py:22: RuntimeWarning: invalid value encountered in double_scalars
Seems this simple algorithm is not appropriate for real use. It's extremely slow and and isn't tuned.
Just nice math fact.