Skip to content

Reduce the complexity of linear_algebra/src/polynom_for_points.py #7948

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

Conversation

MaximSmolskiy
Copy link
Member

Describe your change:

Reduce the complexity of linear_algebra/src/polynom_for_points.py from 23 to 17

Fixes: #7942

  • Add an algorithm?
  • Fix a bug or typo in an existing algorithm?
  • Documentation change?

Checklist:

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized.
  • I know that pull requests will not be merged if they fail the automated tests.
  • This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
  • All new Python files are placed inside an existing directory.
  • All filenames are in all lowercase characters with no spaces or dashes.
  • All functions and variable names follow Python naming conventions.
  • All function parameters and return values are annotated with Python type hints.
  • All functions have doctests that pass the automated testing.
  • All new algorithms include at least one URL that points to Wikipedia or another similar explanation.
  • If this pull request resolves one or more open issues then the commit message contains Fixes: #{$ISSUE_NO}.

@algorithms-keeper algorithms-keeper bot added enhancement This PR modified some existing files awaiting reviews This PR is ready to be reviewed labels Nov 2, 2022
@MaximSmolskiy MaximSmolskiy force-pushed the reduce-the-complexity-of-linear_algebra/src/polynom_for_points.py branch from 7e67a43 to 38ac4c0 Compare November 2, 2022 18:05
Copy link
Member

@cclauss cclauss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@algorithms-keeper algorithms-keeper bot added awaiting changes A maintainer has requested changes to this PR and removed awaiting reviews This PR is ready to be reviewed labels Nov 2, 2022
@algorithms-keeper algorithms-keeper bot added awaiting reviews This PR is ready to be reviewed merge conflicts Open a new PR or rebase on the latest commit and removed awaiting changes A maintainer has requested changes to this PR labels Nov 2, 2022
@github-actions github-actions bot force-pushed the reduce-the-complexity-of-linear_algebra/src/polynom_for_points.py branch from 062682a to 0117eb1 Compare November 2, 2022 18:23
@algorithms-keeper algorithms-keeper bot removed the merge conflicts Open a new PR or rebase on the latest commit label Nov 2, 2022
@MaximSmolskiy MaximSmolskiy requested review from cclauss and removed request for dhruvmanila November 2, 2022 18:30
Copy link
Member

@cclauss cclauss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work! Other pull requests that further reduce our max-complexity would be warmly received.

@algorithms-keeper algorithms-keeper bot removed the awaiting reviews This PR is ready to be reviewed label Nov 2, 2022
@cclauss cclauss merged commit db5215f into TheAlgorithms:master Nov 2, 2022
@MaximSmolskiy MaximSmolskiy deleted the reduce-the-complexity-of-linear_algebra/src/polynom_for_points.py branch November 2, 2022 18:44
@will472
Copy link

will472 commented Nov 25, 2022 via email

@cclauss
Copy link
Member

cclauss commented Nov 25, 2022

@will472 Please click the unsubscribe near the bottom of the right column of this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This PR modified some existing files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

linear_algebra/src/polynom_for_points.py is too complex
3 participants