Skip to content

ronaldo-ribeirof/matrixnator-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrixnator: A Simple Java Matrix Printing API

A lightweight and clean Java library for elegantly printing formatted matrices to the console. The goal of Matrixnator is to provide a reusable and DRY (Don't Repeat Yourself) API for visualizing two-dimensional data structures in a clear way, aiding in application development and debugging.

This project was created as part of my Java studies and personal growth as a developer.


Highlights 🚀

  • Matrix Printing: Native support for float, double, and int matrices.
  • Centered Alignment: All values are automatically centered within their cells for a professional aesthetic.
  • Grid Structure: Uses Unicode characters to draw borders and grids, providing a clear visual representation of the matrix structure.
  • Simple API: The API interface is intuitive and straightforward, consisting of static methods that require no instantiation.
  • Robust Error Handling: Handles null or empty matrices gracefully, preventing NullPointerException and providing informative messages.
  • Method: this project was made with the help of Gemini 2.5 Flash, so it could help me on my Java studies!

How to Use the API 🧑‍💻

To use the Matrixnator in your project, simply include the library's JAR file as a dependency or copy the Matrixnator.java class directly into your project.

Adding as a Dependency (Maven)

If you are using Maven, add the following dependency to your pom.xml file:

<dependency>
    <groupId>ronaldo.matrix</groupId>
    <artifactId>matrixnator</artifactId>
    <version>1.0.0-SNAPSHOT</version>
</dependency>

About

Matrixnator: A Simple Java Matrix Printing API. A lightweight and clean library for elegantly printing matrices to the console, created with the purpose of helping me in my Java studies and evolution.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages