You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
293 B
6 lines
293 B
Vector3d v(1,0,0);
|
|
Vector3d w(1e-4,0,1);
|
|
cout << "Here's the vector v:" << endl << v << endl;
|
|
cout << "Here's the vector w:" << endl << w << endl;
|
|
cout << "v.isOrthogonal(w) returns: " << v.isOrthogonal(w) << endl;
|
|
cout << "v.isOrthogonal(w,1e-3) returns: " << v.isOrthogonal(w,1e-3) << endl;
|