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

classify interval matrices #20

Merged
merged 4 commits into from
Jun 27, 2021
Merged

classify interval matrices #20

merged 4 commits into from
Jun 27, 2021

Conversation

lucaferranti
Copy link
Member

@lucaferranti lucaferranti commented Jun 21, 2021

Add functions to classify interval matrices

  • H-matrix
  • strongly regular matrix
  • strictly diagonally dominant matrix
  • M-matrix
  • Z-matrix?

Regarding the names, better with or without underscore?

@mforets
Copy link
Collaborator

mforets commented Jun 21, 2021

Regarding the names, better with or without underscore?

With underscores it is more readable. In fact I would write is_strictly_diagonally_dominant instead of is_sdd_matrix, since it makes it crystal clear from the function's name the mathematical property in question.

@codecov-commenter
Copy link

codecov-commenter commented Jun 21, 2021

Codecov Report

Merging #20 (ace73c7) into main (33569ed) will increase coverage by 2.19%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
+ Coverage   89.68%   91.87%   +2.19%     
==========================================
  Files           4        5       +1     
  Lines         126      160      +34     
==========================================
+ Hits          113      147      +34     
  Misses         13       13              
Impacted Files Coverage Δ
src/IntervalLinearAlgebra.jl 100.00% <ø> (ø)
src/classify.jl 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 33569ed...ace73c7. Read the comment docs.

@lucaferranti lucaferranti linked an issue Jun 22, 2021 that may be closed by this pull request
4 tasks
src/classify.jl Outdated Show resolved Hide resolved
src/classify.jl Show resolved Hide resolved
src/classify.jl Outdated Show resolved Hide resolved
src/classify.jl Show resolved Hide resolved
@mforets
Copy link
Collaborator

mforets commented Jun 24, 2021

a conflict needs to be resolved before merging

add test for strictly diagonal dominant matrices

changed name for is_sdd_matrix and added test for Z-matrix

added tests for M matrix

fix typo in tests

remove import automatically added by vscode

small fixes

small fixes

don't use sum in sdd test

added link to references in docstrings

check inv(Ac)A is H-matrix in test for strongly regular matrix

update is_strongly_regular docstring
@lucaferranti
Copy link
Member Author

this can be merged now I think?

Copy link
Collaborator

@mforets mforets left a comment

Choose a reason for hiding this comment

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

Nice work!

@lucaferranti lucaferranti merged commit 77d098c into main Jun 27, 2021
@lucaferranti lucaferranti deleted the lf/classify branch June 27, 2021 18:52
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.

implement algorithms to classify different interval matrices
4 participants