Skip to content

Add pivoting to row reduction - #11

Open
KeithFrost wants to merge 3 commits into
twist-vector:masterfrom
KeithFrost:inverse-pivots
Open

Add pivoting to row reduction#11
KeithFrost wants to merge 3 commits into
twist-vector:masterfrom
KeithFrost:inverse-pivots

Conversation

@KeithFrost

@KeithFrost KeithFrost commented Dec 27, 2023

Copy link
Copy Markdown

This is a proposed fix for the issue (#10) I filed, where the matrix inverse will silently return
incorrect results if it happens to run across small values while performing row reduction. This fix will work as long for any non-singular matrix: singular matrices may generate an ArithmeticError (division by zero), or just crazy values from inverting floating point numbers very close to zero. This is still far better than the current defective behavior.

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

Successfully merging this pull request may close these issues.

1 participant