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

Enhancing JMatrix with additional methods #63

Closed
4 tasks done
mitsuki31 opened this issue Aug 2, 2023 · 3 comments · Fixed by #102, #131 or #134
Closed
4 tasks done

Enhancing JMatrix with additional methods #63

mitsuki31 opened this issue Aug 2, 2023 · 3 comments · Fixed by #102, #131 or #134
Assignees
Milestone

Comments

@mitsuki31
Copy link
Owner

mitsuki31 commented Aug 2, 2023

Requested Feature

JMatrix, an educational Java library designed to simplify matrix operations, aims to provide a comprehensive learning tool for high school students exploring linear algebra concepts. To further enhance its usability and support a broader range of learning scenarios, the addition of certain methods is recommended. These methods will allow students or users to explore and understand specific matrix properties and operations more effectively.

Description of Proposed Methods

  • trace
    The trace of a square matrix is the sum of its diagonal elements. It is a valuable property used in various matrix-related calculations. The trace method will allow users to obtain the trace of square matrices, providing insights into matrix characteristics and operations.

  • determinant
    The determinant of a square matrix is a fundamental property that holds valuable information about the matrix's invertibility and scaling factor of transformations. Adding the determinant method to JMatrix will empower users to compute determinants of square matrices, fostering a deeper understanding of matrix properties.

  • isSparse
    A matrix is considered sparse if the majority of its elements are zero. For large matrices with a significant number of zeros, sparse matrix representation can offer substantial memory and computation efficiency. The isSparse method will help users to identify whether a matrix is sparse, making it easier to recognize opportunities for utilizing sparse matrix algorithms.

  • isPermutationMatrix
    A permutation matrix is a square binary matrix that represents a permutation of the rows or columns of an identity matrix. It has exactly one $1$ in each row and each column, with all other elements being zeros. The isPermutationMatrix method will allow users to check if a given square matrix is a permutation matrix, aiding in the study of permutation-based operations.

Issue Summary

This issue aims to enrich the JMatrix library by adding several essential methods that will enhance the learning and application of linear algebra concepts. The proposed methods cover various aspects of matrix analysis, including determining permutation matrices, recognizing sparse matrices, and calculating determinant and trace. By implementing these methods, JMatrix will become an even more valuable educational resource, providing comprehensive support for users exploring linear algebra concepts.

@mitsuki31 mitsuki31 self-assigned this Aug 2, 2023
@mitsuki31 mitsuki31 moved this to 📝 Planning in JMatrix 1.3.0 Sep 10, 2023
@mitsuki31 mitsuki31 removed this from JMatrix 1.3.0 Dec 5, 2023
@mitsuki31 mitsuki31 moved this to Ready in JMatrix 1.5.0 Feb 2, 2024
@mitsuki31 mitsuki31 moved this from Ready to In progress in JMatrix 1.5.0 Feb 7, 2024
@mitsuki31 mitsuki31 linked a pull request Feb 8, 2024 that will close this issue
1 task
@mitsuki31 mitsuki31 pinned this issue Feb 8, 2024
@github-project-automation github-project-automation bot moved this from In progress to Done in JMatrix 1.5.0 Feb 8, 2024
@mitsuki31
Copy link
Owner Author

There's two tasks left.

@mitsuki31 mitsuki31 reopened this Feb 8, 2024
@mitsuki31 mitsuki31 moved this from Done to In progress in JMatrix 1.5.0 Feb 8, 2024
@mitsuki31 mitsuki31 added this to the v1.5.0 milestone May 31, 2024
@mitsuki31 mitsuki31 linked a pull request Sep 13, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this from In progress to Done in JMatrix 1.5.0 Sep 13, 2024
@mitsuki31
Copy link
Owner Author

One left.

@mitsuki31 mitsuki31 reopened this Sep 13, 2024
@mitsuki31 mitsuki31 moved this from Done to In progress in JMatrix 1.5.0 Sep 13, 2024
@github-project-automation github-project-automation bot moved this from In progress to Done in JMatrix 1.5.0 Sep 13, 2024
@mitsuki31
Copy link
Owner Author

All done 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
1 participant