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

feat: add determinant implementation for matrix #732

Merged
merged 4 commits into from
Aug 20, 2024

Conversation

Carter907
Copy link
Contributor

Added the Determinant method for the Matrix struct under math/matrix.
This method returns the determinant of the matrix.

Added the Determinant method for the Matrix struct under math/matrix.
This method returns the determinant of the matrix.
@codecov-commenter
Copy link

codecov-commenter commented Aug 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (master@662e8e9). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #732   +/-   ##
=========================================
  Coverage          ?   87.59%           
=========================================
  Files             ?      208           
  Lines             ?     5524           
  Branches          ?        0           
=========================================
  Hits              ?     4839           
  Misses            ?      543           
  Partials          ?      142           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Fixed the spelling error in determinant.go.
Fixed ineffectual error assignment in determinant_test.go.
Added a test case for single-element matrix.
@raklaptudirm raklaptudirm merged commit 24c7f1f into TheAlgorithms:master Aug 20, 2024
4 of 5 checks passed
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.

3 participants