/// @file /// @brief task A /// g++ -std=c++20 taskA.cpp -Imodules -o taskA && ./taskA #include #include #include #include "iue-rnd/random.hpp" // iue::rnd::UniformValue #include "taskA.Vector.hpp" // todo: implement Vector int main() { // first constructor std::vector data = {2, 4, 6, 8}; // Vector v1(data); // @todo: uncomment // second constructor double start = 0; double end = 5; unsigned int N = 6; // Vector v2(start, end, N); // @todo: uncomment // third constructor auto callable = iue::rnd::UniformValue(0.0, 1.0); // Vector v3(N, callable); // @todo: uncomment // v1.print(); // @todo: uncomment [2, 4, 6, 8] // v2.print(); // @todo: uncomment [0, 1, 2, 3, 4, 5] // v3.print(); // @todo: uncomment [6 random values between 0..1] return 0; }