File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change 4545 * @author [Shreyas Sable](https://github.com/Shreyas-OwO)
4646 */
4747
48- #include < iostream>
4948#include < array>
5049#include < cmath>
5150#include < cassert>
@@ -110,24 +109,5 @@ int main() {
110109
111110 // / Tests the functions with sample input before asking for user input.
112111 test ();
113-
114- std::array<double , 3 > vec1;
115- std::array<double , 3 > vec2;
116-
117- // / Gets the values for the first vector.
118- std::cout << " \n Pass the first Vector: " ;
119- std::cin >> vec1[0 ] >> vec1[1 ] >> vec1[2 ];
120-
121- // / Gets the values for the second vector.
122- std::cout << " \n Pass the second Vector: " ;
123- std::cin >> vec2[0 ] >> vec2[1 ] >> vec2[2 ];
124-
125- // / Displays the output out.
126- std::array<double , 3 > product = math::vector_cross::cross (vec1, vec2);
127- std::cout << " \n The cross product is: " << product[0 ] << " " << product[1 ] << " " << product[2 ] << std::endl;
128-
129- // / Displays the magnitude of the cross product.
130- std::cout << " Magnitude: " << math::vector_cross::mag (product) << " \n " << std::endl;
131-
132112 return 0 ;
133113}
You can’t perform that action at this time.
0 commit comments