Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Overview This assignment covers arrays, libraries and applications of linear algebra to engineering program- ming. As with the previous assignment, this assignment is designed to
Overview This assignment covers arrays, libraries and applications of linear algebra to engineering program- ming. As with the previous assignment, this assignment is designed to emphasize the importance of rigorous testing and debugging A header file matrix_and vector.h, containing function and datatype declarations for a lin- ear algebra library, has been posted to conneX, along with several tester programs that define a main function which calls the functions in the library. Your task is to implement a single matrix_and vector.c source file containing definitions of the functions specified in matrix_and_vector.h (your code should contain the line '#include "matrix_and_vector.h"). You can verify that your library implementation is complete and correct by compiling it in combination with one of the provided tester programs Like Assignment 2, your assignment will be evaluated by a combination of human inspection and automated testing, and you will be permitted to resubmit your assignment after the first round of testing if the tests expose any bugs. The tester programs used for marking will be distinct from the tester programs provided with the assignment code. Your matrix_and vector.c file must not contain a definition for main), since your code is pro- viding a library implementation, not a main program. If your submission contains a main function, it will receive a mark of zero. Best Practices for Code Style Your submissions must observe the following guidelines. Submissions which do not meet the guide- lines will have marks deducted, even if they function correctly (although some of the guidelines such as those relating to uninitialized memory, might also affect the ability of the program to work correctly on a reliable basis, which could result in a deduction for both style and function) Overview This assignment covers arrays, libraries and applications of linear algebra to engineering program- ming. As with the previous assignment, this assignment is designed to emphasize the importance of rigorous testing and debugging A header file matrix_and vector.h, containing function and datatype declarations for a lin- ear algebra library, has been posted to conneX, along with several tester programs that define a main function which calls the functions in the library. Your task is to implement a single matrix_and vector.c source file containing definitions of the functions specified in matrix_and_vector.h (your code should contain the line '#include "matrix_and_vector.h"). You can verify that your library implementation is complete and correct by compiling it in combination with one of the provided tester programs Like Assignment 2, your assignment will be evaluated by a combination of human inspection and automated testing, and you will be permitted to resubmit your assignment after the first round of testing if the tests expose any bugs. The tester programs used for marking will be distinct from the tester programs provided with the assignment code. Your matrix_and vector.c file must not contain a definition for main), since your code is pro- viding a library implementation, not a main program. If your submission contains a main function, it will receive a mark of zero. Best Practices for Code Style Your submissions must observe the following guidelines. Submissions which do not meet the guide- lines will have marks deducted, even if they function correctly (although some of the guidelines such as those relating to uninitialized memory, might also affect the ability of the program to work correctly on a reliable basis, which could result in a deduction for both style and function)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started