diff --git a/t.cc b/t.cc index b6214bf..56239f6 100644 --- a/t.cc +++ b/t.cc @@ -1237,7 +1237,7 @@ cout <>n >>m; @@ -1954,6 +1954,19 @@ cin >>v; cout < v,r,tmp,q,q1; +cin >>q; +q.normalize(); +q1= q; +q1.conjugateme(); +cout <<"test "<>v; +r= q*v*q1; +cout <<"rotated "< q(1.);