Boost QVM

rotx_q(s)

#include <boost/qvm/q.hpp>

namespace boost
{
    namespace qvm
    {
        template <class Angle>
        -unspecified-return-type- rotx_q( Angle const & angle );
    }
}

Returns:

A quaternion of unspecified type and scalar type Angle, which performs a rotation around the X axis at angle radians.