Skip to content

abdelrhman-oun/Matrix-operations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Matrix-operations

C++ program to do Matrix operations The program use a defined string format to represent the matrix in the user input and output sections. the string representation of the Matrix is : [10 2.13 3;-5 0 4;16.5 1 8]

General Constraints: 1- User can input matrices of any size up to 100 x 100. 2- All values are of float data types. 3- Any error in user input, the program will output the word “ERROR” in uppercase letters and exits. List of Errors includes the following: a. Any missing or unexpected input in the entered string matrix. b. Invalid corresponding matrices size in +, -, * , / operators. c. Non square matrix in Inverse and Power operators. d. Non integer positive power in power operator.

Example (Add Operator) input [1 -2.5 3;4 5.25 6;7 8 9.12] + [3 4.2 10.2;12 -1 0;67 2 13] output [4 1.7 13.2;16 4.25 6;74 10 22.12]

About

C++ program to do Matrix operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy