Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Read first(instructions) Read second(instructions) Read third(instructions) Matrix.h(part1) Matrix.h(part2) Matrix_main(part1) Matrix_main(part2) Matrix_main(part3) Matrix_main(part4) Matrix_main(part5) Matrix.cpp(part1) Matrix.cpp(part2) Object.h(just in case you need it, but dont think you

image text in transcribedRead first(instructions)
image text in transcribedRead second(instructions)
image text in transcribedRead third(instructions)
image text in transcribedMatrix.h(part1)
image text in transcribedMatrix.h(part2)
image text in transcribedMatrix_main(part1)
image text in transcribedMatrix_main(part2)
image text in transcribedMatrix_main(part3)
image text in transcribedMatrix_main(part4)
image text in transcribedMatrix_main(part5)
image text in transcribedMatrix.cpp(part1)
image text in transcribedMatrix.cpp(part2)
image text in transcribedObject.h(just in case you need it, but dont think you will)
Objectives l. Understand the design, implementation, usage and limitation of a Matrix ADT and Vector ADT based on fixed-sized two-dimensional arrays. 2. Gain experience implementing abstract data types using already developed data structures. 3. Gain experience with object-oriented programming abstractions, especially constructors and operator overloading Overview You will implement and test three classes Matrix, Vector and Vector3D Class Matrix implements a matrix with n rows and m columns; this is often call a n x m matrix. Matrix are often depicted as follows: 14 a a a24 a24 33 a 34 32 31 This matrix has size 3 x 4, and each element a is a member of the matrix. Notice that the notation au denotes the element at row i, column j. For example, element a is the element at row 2 and column 3. Likewise, element a is the element at row 3, column 1. For convenience, we often write a matrix M as M law] to indicate that is a matrix with elements au Notice that the number of rows and columns do not need to be the same, but if they are the matrix is called square matrix. You class will keep the current number of row and columns in the matrix. However, each matrix will have a maximum number of rows and columns, defined by the constants Matrix:MAX ROWS and Matrix:MAX COLUMNS (these are defined in the file Matrix h) Your program will implement the following operations on the Matrix class: 1. Matrix addition Objectives l. Understand the design, implementation, usage and limitation of a Matrix ADT and Vector ADT based on fixed-sized two-dimensional arrays. 2. Gain experience implementing abstract data types using already developed data structures. 3. Gain experience with object-oriented programming abstractions, especially constructors and operator overloading Overview You will implement and test three classes Matrix, Vector and Vector3D Class Matrix implements a matrix with n rows and m columns; this is often call a n x m matrix. Matrix are often depicted as follows: 14 a a a24 a24 33 a 34 32 31 This matrix has size 3 x 4, and each element a is a member of the matrix. Notice that the notation au denotes the element at row i, column j. For example, element a is the element at row 2 and column 3. Likewise, element a is the element at row 3, column 1. For convenience, we often write a matrix M as M law] to indicate that is a matrix with elements au Notice that the number of rows and columns do not need to be the same, but if they are the matrix is called square matrix. You class will keep the current number of row and columns in the matrix. However, each matrix will have a maximum number of rows and columns, defined by the constants Matrix:MAX ROWS and Matrix:MAX COLUMNS (these are defined in the file Matrix h) Your program will implement the following operations on the Matrix class: 1. Matrix addition

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Business Process Driven Database Design With Oracle PL SQL

Authors: Rajeev Kaula

1st Edition

1795532386, 978-1795532389

More Books

Students also viewed these Databases questions

Question

Find the derivative of y= cos cos (x + 2x)

Answered: 1 week ago

Question

=+ Why do we have markets and, according to economists,

Answered: 1 week ago