36 v += (*
x_)[i]*(*x_)[i];
48 if (n != 0) (*x_) /= n;
56 r(0) = a(1)*b(2)-a(2)*b(1);
57 r(1) = a(2)*b(0)-a(0)*b(2);
58 r(2) = a(0)*b(1)-a(1)*b(0);
a_mat_c cross(a_mat_c &a, a_mat_c &b)
a_quaternion sqrt(const a_quaternion &x)
a_mat_c & operator=(const a_mat &m)
std::valarray< double > * x_
std::valarray< double > & x() const