How to Implement and Unit Test LineSpace Algorithm in C++?
The LineSpace Algorithm generates linearly spaced vector. You are asked to write a C++ function that has the following syntax: vector<double> linespace(double start, double ed, int num); For example, …