mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
- many updates after Cwise change
- fix compilation in product.cpp with std::complex - fix bug in MatrixBase::operator!=
This commit is contained in:
@@ -120,8 +120,8 @@ template<typename Scalar>
|
||||
typename EulerAngles<Scalar>::Matrix3
|
||||
EulerAngles<Scalar>::toRotationMatrix(void) const
|
||||
{
|
||||
Vector3 c = m_angles.cwiseCos();
|
||||
Vector3 s = m_angles.cwiseSin();
|
||||
Vector3 c = m_angles.cwise().cos();
|
||||
Vector3 s = m_angles.cwise().sin();
|
||||
return Matrix3() <<
|
||||
c.y()*c.z(), -c.y()*s.z(), s.y(),
|
||||
c.z()*s.x()*s.y()+c.x()*s.z(), c.x()*c.z()-s.x()*s.y()*s.z(), -c.y()*s.x(),
|
||||
|
||||
Reference in New Issue
Block a user