Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.37 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.37 KB

Matrix Operations

Project Overview

This project is a Java-based tool for performing various matrix operations, including addition, subtraction, multiplication, transpose, and power calculations. The user is prompted to input matrices and select an operation to perform. The project consists of two main classes: MatrixMain for user interaction and MatrixCalculations for performing the matrix operations.

Author

  • Author: liamkelso
  • Version: 1.0
  • Date last updated: 2024-06-25

Prerequisites

  • Java Development Kit (JDK) 8 or later

Setup Instructions

  1. Clone the Repository:
    git clone https://github.com/yourusername/matrix-operations.git
    cd matrix-operations
  2. Build and Run the Project:
  • Open the project in your preferred IDE (e.g., Eclipse, IntelliJ).
  • Build the project to resolve dependencies.
  • Run the MatrixMain class as a Java application.
  • Usage Instructions
  1. Run the Program:
  • Execute the MatrixMain class to start the program.
  • Follow the Prompts:

Select a calculation by typing the corresponding letter: A for addition S for subtraction T for transpose P for power M for multiplication Enter the dimensions and elements of the matrices as prompted. Review the Output:

The program will print the result of the selected matrix operation.

Contact