FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: pivot on zero diagonal in points_to_polynomial by deepshekhardas · Pull Request #15044 · TheAlgorithms/Python · GitHub

fix: pivot on zero diagonal in points_to_polynomial - #15044

Open
deepshekhardas wants to merge 1 commit into
TheAlgorithms:masterfrom
deepshekhardas:fix-14817-poly-pivoting
Open

fix: pivot on zero diagonal in points_to_polynomial#15044
deepshekhardas wants to merge 1 commit into
TheAlgorithms:masterfrom
deepshekhardas:fix-14817-poly-pivoting

Conversation

Copy link
Copy Markdown

Describe your change

  • Add an algorithm?
  • Fix a bug or typo in an existing algorithm?
  • Add, change, or clarify documentation?

What does this implement/fix?

Gaussian elimination without pivoting divided by zero when any point had x = 0 (zero pivot on the diagonal). Swap in a non-zero pivot row only when the diagonal is zero, preserving exact arithmetic for well-behaved inputs.

Additional comments?

None.

Fixes #14817

Gaussian elimination without pivoting divided by zero when any point
had x = 0. Swap in a non-zero pivot row only when the diagonal is zero.

Fixes TheAlgorithms#14817
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

linear_algebra/polynom_for_points: ZeroDivisionError on valid points containing x=0 (Gaussian elimination without pivoting)

1 participant


Back | FazBrowse Home | New Git URL