-
Notifications
You must be signed in to change notification settings - Fork 0
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
Milestone
Comments
1 task
There's two tasks left. |
One left. |
All done 🎉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
trace
, introduced in New matrix operations and helper APIs #102determinant
introduced in feat: Add support for determinant calculation #131isSparse
, introduced in New matrix operations and helper APIs #102isPermutationMatrix
introduced in feat: EnhanceMatrix
class with row/column getters and permutation matrix checks #134Description 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
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.
The text was updated successfully, but these errors were encountered: