Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Other inverse algos #16

Open
kronthto opened this issue Mar 24, 2021 · 1 comment
Open

Other inverse algos #16

kronthto opened this issue Mar 24, 2021 · 1 comment

Comments

@kronthto
Copy link

kronthto commented Mar 24, 2021

Hi,

I noticed that the built-in reverse function gets very slow as soon as the matrix gets bigger (say 10x10 +).

Please excuse that I'm not very deep into the math behind your or other implementations and possible differences, but using i.E. this Gauss algorithm implementation the operation runs magnitudes faster: https://gist.github.com/unix1/7510208

Maybe it should be considered adding that, even if only as an alternative / second inverse function.

Cheers

@kronthto
Copy link
Author

Apparently I can also use the solve() of this lib with an identity matrix - this also works much faster than reverse().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant