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 45
45
* @author [Shreyas Sable](https://github.com/Shreyas-OwO)
46
46
*/
47
47
48
- #include < iostream>
49
48
#include < array>
50
49
#include < cmath>
51
50
#include < cassert>
@@ -110,24 +109,5 @@ int main() {
110
109
111
110
// / Tests the functions with sample input before asking for user input.
112
111
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
-
132
112
return 0 ;
133
113
}
You can’t perform that action at this time.
0 commit comments