.. _screws: .. title:: Screws Screws ========== Overview -------- In the early 1800s, Chasles proved that any change in the configuration of a rigid body can be parameterized in terms of a helical motion along a fixed axis :cite:`chasles1830note`. Poinsot is credited with the discovery that a system of forces acting on a rigid body can be resolved as a force acting along a line combined with a torque acting about the same line :cite:`poinsot1806composition`. Chasles' and Poinsot's work was later developed by Sir Robert Ball into the theory of screws :cite:`ball1998treatise`. Screws represent angular and translational quantities in a single 6x1 vector quantity. Not only do screws provide a systematic framework for kinematics and dynamics of mechanisms, their compact representation is well-suited for compact computer storage and facilitates vectorization. Linear and angular velocity can be combined into a single 6x1 quantity as: .. math:: :label: eq:screw_1 \underline{\mathbf{v}} = \begin{Bmatrix}\underline{v}\\ \underline{\omega}\end{Bmatrix} In 1873, Clifford coined the word *motor* to refer to this screw quantity (i.e. a combination of *motion* and *vector*) :cite:`davidson2004robots`. Later, Ball referred to this screw quantity as a *twist* :cite:`ball1998treatise`. The term *twist* is used more frequently in modern literature, and therefore is used in the present work. Adjoint Matrix :math:`[Ad]` *************************** The :math:`6 \times 6` adjoint transformation matrix, :math:`[Ad]`, for transforming twists from one coordinate system to another can be formed from :math:`SE(3)` matrices. The derivation is briefly summarized below: Consider a displacement about the :math:`z` axis given by the Special Orthogonal :math:`SO(3)` matrix: .. math:: :label: eq:SO3_matrix \underline{a}=R_{ab}\underline{b}= \begin{bmatrix} cos\theta_z & -sin\theta_z & 0\\ sin \theta_z & cos\theta_z & 0\\ 0 & 0 & 1 \end{bmatrix}\underline{b} Then .. math:: :label: eq:velocity_transformation \dot{a}=\dot{R}_{ab}=\left[ \dot{R_{ab}}R^T_{ab} \right] R_{ab}b .. math:: :label: eq:omega_z \dot{R}^T= \begin{bmatrix} -\dot{\theta_z} sin \theta_z & -\dot{\theta_z} cos \theta_z & 0\\ \dot{\theta_z} cos \theta_z & -\dot{\theta_z} sin \theta_z & 0\\ 0 & 0 & 0 \end{bmatrix} \begin{bmatrix} cos \theta_z & sin \theta_z & 0\\ -sin \theta_z & cos \theta_z & 0\\ 0 & 0 & 1 \end{bmatrix}= \begin{bmatrix} 0 & -\dot{\theta_z} & 0\\ \dot{\theta_z} & 0 & 0 \\ 0 & 0 & 0 \end{bmatrix}=\tilde{\omega}_z Where :math:`\tilde{\omega}_z` is a skew symmetric matrix and the spatial velocity is given by .. math:: :label: eq:spatial_velocity \underline{\omega}=\begin{Bmatrix} 0\\ 0\\ \dot{\theta_z} \end{Bmatrix}= \begin{Bmatrix} 0\\0\\ \omega_z \end{Bmatrix} The derivation can be extended to :math:`SE(3)` matrices for rigid body transformations: .. math:: :label: eq:SE3_matrix \underline{a}=\Phi_{ab}\underline{b}= \begin{bmatrix} R_{ab} & \underline{r}_{ab}\\ 0 & 1 \end{bmatrix}\underline{b} and .. math:: :label: eq:SE3_velocity_transformation \dot{a}=\left[\dot{\Phi}_{ab}\Phi_{ab}^{-1}\right] q_{ab}\underline{b}= \begin{bmatrix} \dot{R}_{ab} & \dot{\underline{r}}_{ab}\\ 0 & 0 \end{bmatrix} \begin{bmatrix} R^T_{ab} & -R^T_{ab}\underline{r}_{ab}\\ 0 & 1 \end{bmatrix} \begin{bmatrix} R_{ab} & \underline{r}_{ab}\\ 0 & 1 \end{bmatrix}\underline{b} simplifying yields: .. math:: :label: eq:spatial_velocity2 \dot{\Phi}_{ab}\Phi_{ab}^{-1}= \begin{bmatrix} \dot{R}_{ab}R^T_{ab} & -\dot{R}_{ab}R^T_{ab} \underline{r}_{ab}+\dot{\underline{r}}_{ab}\\ 0 & 0 \end{bmatrix}= \begin{bmatrix} 0 & -\omega_z & \omega_y & v_x\\ \omega_z & 0 & -\omega_x & v_y\\ -\omega_y & \omega_x & 0 & v_z\\ 0 & 0 & 0 & 0 \end{bmatrix}= \begin{bmatrix} \tilde{\omega} & \underline{v}\\ 0 & 0 \end{bmatrix} Which yields a :math:`6\times 1` velocity screw, also known as a *twist*, :math:`\underline{\mathbf{v}}`, where .. math:: :label: eq:screw \underline{\mathbf{v}}=\begin{Bmatrix} v_x\\ v_y\\ v_z\\ \omega_x\\ \omega_y\\ \omega_z \end{Bmatrix}= \begin{Bmatrix} \underline{v}\\ \underline{\omega} \end{Bmatrix} In the language of modern differential geometry, velocity screws are known as the *Lie algebra* of the SE(3) group; their group is designated as :math:`se(3)` :cite:`park1995lie`. The quantity in Eq. :eq:`eq:spatial_velocity` can be expressed in other coordinate systems by a similarity transformation. .. math:: :label: eq:similarity_transformation \begin{bmatrix} \Omega' & \underline{v}' \\ 0 & 0 \end{bmatrix}= \begin{bmatrix} R & \underline{r} \\ 0 & 1 \end{bmatrix} \begin{bmatrix} \Omega & \underline{v} \\ 0 & 0 \end{bmatrix} \begin{bmatrix} R^T & -R^T\underline{r} \\ 0 & 1 \end{bmatrix}= \begin{bmatrix} R\Omega R^T & R\underline{v}-R\Omega R^T \underline{r} \\ 0 & 0 \end{bmatrix} In computer implementation of the spatial velocity transformation, it is not necessary to perform the entire sequence of :math:`4\times4` matrix operations. Not only can one exploit the matrix sparsity, but it is also possible to take advantage of the following identity to reduce the number of operations required. As the quantity :math:`R\Omega R^T` is skew symmetric, it is only necessary to compute the :math:`\omega'` terms as .. math:: :label: eq:identity1 \omega'_x= (R_{22}R_{33}- R_{23}R_{32})\omega_x + (R_{23}R_{31} - R_{21}R_{32})\omega_y + (R_{21}R_{32} - R_{22}R_{31})\omega_z .. math:: :label: eq:identity2 \omega'_y= (R_{13}R_{32}- R_{12}R_{33})\omega_x + (R_{11}R_{33} - R_{13}R_{31})\omega_y + (R_{12}R_{31} - R_{11}R_{32})\omega_z .. math:: :label: eq:identity3 \omega'_z=(R_{12}R_{23} - R_{13}R_{22})\omega_x + (R_{13}R_{21} - R_{11}R_{23})\omega_y + (R_{12}R_{21} - R_{11}R_{22})\omega_z R is orthonormal and therefore the second row of R crossed with the third row yields the first row, and the following is true: .. math:: :label: eq:identity4 R_{22}R_{33} - R_{23}R_{32} = R_{11} .. math:: :label: eq:identity5 R_{23}R_{31} - R_{21}R_{32} = R_{12} .. math:: :label: eq:identity6 R_{21}R_{32} - R_{22}R_{31} = R_{13} and therefore: .. math:: :label: eq:identity7 \omega'_x= R_{11}\omega_x + R_{12}\omega_y + R_{13}\omega_z .. math:: :label: eq:identity8 \omega'_y= R_{21}\omega_x + R_{22}\omega_y + R_{23}\omega_z .. math:: :label: eq:identity9 \omega'_z=R_{31}\omega_x + R_{32}\omega_y + R_{33}\omega_z .. math:: :label: eq:identity10 \underline{\omega}'=R\underline{\omega} and .. math:: :label: eq:identity11 \begin{bmatrix} \Omega' & \underline{v}' \\ 0 & 0 \end{bmatrix}= \begin{bmatrix} \widetilde{[R\underline\omega]} & R\underline{v}-\widetilde{[R\underline\omega]} \underline{r}\\ 0 & 0 \end{bmatrix}= \begin{bmatrix} \widetilde{[R\underline\omega]} & R\underline{v}+\tilde{r} R\underline\omega\\ 0 & 0 \end{bmatrix} Using this information, a :math:`6\times6` adjoint transformation matrix can be generated to transform twists as .. math:: :label: eq:adjoint_matrix \begin{Bmatrix} \underline{v}'\\\underline{\omega}' \end{Bmatrix} =\begin{bmatrix} R & \tilde{r}R\\ 0 & R \end{bmatrix} \begin{Bmatrix} \underline{v}\\ \underline{\omega} \end{Bmatrix}=[Ad]\begin{Bmatrix} \underline{v}\\ \underline{\omega} \end{Bmatrix} The matrix :math:`[Ad]` forms a :math:`6\times6` screw *basis*. A similar matrix operator for transforming spatial velocities was introduced by Yuan and Freudenstein in 1970 :cite:`yuan1970kinematic`. Some authors put :math:`\underline\omega` above :math:`\underline v` as Yuan did. The form of spatial velocity specified in Eq. :eq:`eq:adjoint_matrix` was chosen in this work as it is the original order specified in Clifford's Algebra :cite:`clifford1882mathematical` and is commonly used in flexible multibody dynamics formulations :cite:`shabana2010computational`. In the language of differential geometry, :math:`[Ad]` is known as the *adjoint representation* and provides a linear mapping of elements of a Lie algebra. The :math:`6\times6` screw *basis*, :math:`[Ad]`, provides a convenient and compact notation for transforming screws, and therefore in computer implementation of the transformation, it is tempting to carry out full :math:`6\times6` matrix algebra to transform twists. However, it is strongly emphasized that the full :math:`6\times6` matrix algebra should *never* be carried out in computer code, and additionally that the full :math:`6\times6 [Ad]` adjoint transformation matrix need not be stored or created in computer memory. In the present work, rigid body displacements are stored as a 12x1 array with the entries of a SO(3) rotation matrix stored in column-major order in the first 9 entries of the array, followed by a translation vector in the last 3 entries of the array. When computing :math:`v'` and :math:`\omega'` in Eq. :eq:`eq:adjoint_matrix`, it is only necessary to multiply the non-zero terms of the various quantities as: .. math:: :label: eq:twist_end_result \begin{Bmatrix}\underline{v}'\\ \underline{\omega}'\end{Bmatrix} = \begin{Bmatrix}R\underline{v} +\tilde{r}R\underline{\omega}\\ R\underline{\omega}\end{Bmatrix} The number of floating point operations required to compute the Eq. :eq:`eq:twist_end_result` are shown below: .. _table1: ======================================================= ========== ====== ===== Operation Multiplies Adds Notes ======================================================= ========== ====== ===== :math:`R\underline{\omega}` 9 6 :math:`\tilde{r}R\underline{\omega}` 6 3 :math:`R\underline{\omega}` computed above :math:`R\underline{v}` 9 6 :math:`\tilde{r}R{\underline{\omega}} + R\underline{v}` 0 3 ------------------------------------------------------- ---------- ------ ----- **total** **24** **18** ======================================================= ========== ====== ===== On the other hand, carrying out full, dense matrix algebra requires the following operations: .. _table2: ======================================== ============ ====== ====== Operation Multiplies Adds Notes ======================================== ============ ====== ====== :math:`\tilde{r}R` 27 18 Counts refers to the full, dense version. Full, dense Eq. :eq:`eq:adjoint_matrix` 36 30 ---------------------------------------- ------------ ------ ------ **total** **63** **48** ======================================== ============ ====== ====== Carrying out the minimal required operations to transform screw quantities requires 62% fewer operations, 66% less memory and many of the matrix-matrix and matrix-vector operations benefit from vectorization. The above example illustrates that although the notational convention of Lie algebra provides a convenient and compact representation of kinematic and dynamic quantities, care should be taken in the computer implementation of the operations described here. KSL consists of a custom, sparse, vectorized kinematics library consisting of over 200 functions for processing screw quantities and SE(3) displacements that uses the minimal set of operations as described above. Derivative operator matrices: :math:`[ad]` ****************************************** In Eq. :eq:`eq:spatial_velocity2`, the derivative operator of the SE(3) group was found. Similarly, the derivative operator matrices for the :math:`6 \times 6` transformation matrices, :math:`[Ad]` and :math:`[Ad]^*` can be found as follows: .. The :math:`6\times 6` :math:`[Ad]` matrices themselves fulfill all the necessary requirements of a Lie group :cite:`selig2005geometric`. The requirements of a general mathematical group are as follows: .. * The group is closed under a binary operation * Operations are associative * The group must have a unique identity element * Every element of the group must have a unique inverseSimilarly, the (left) derivative operator for :math:`[Ad]` matrices is found as: .. Lie groups must satisfy the additional axioms: .. * The set of group elements, :math:`G`, form a differential manifold * A group operation must be a differentiable map. .. math:: :label: eq:adjoint_representation [ad] = \dot{[Ad]}[Ad]^{-1} = \begin{bmatrix} 0 & -\omega_z & \omega_{y} & 0 & -v_z & v_y\\ \omega_z & 0 & -\omega_x & v_z & 0 & -v_x\\ -\omega_y & \omega_x & 0 & -v_y & v_x & 0\\ 0 & 0 & 0 & 0 & -\omega_z & \omega_{y} \\ 0 & 0 & 0 & \omega_z & 0 & -\omega_x\\ 0 & 0 & 0 & -\omega_y & \omega_x & 0 \end{bmatrix}= \begin{bmatrix} \tilde{\omega} & \tilde{v}\\ 0 & \tilde{\omega} \end{bmatrix} Similarly, the left derivative operator for :math:`[Ad]^*` matrices is: .. math:: :label: eq:adjoint_dual_rep [ad]^* = \dot{[Ad]^*}[Ad]^{*-1} = \begin{bmatrix} 0 & -\omega_z & \omega_{y} & 0 & 0 & 0\\ \omega_z & 0 & -\omega_x & 0 & 0 & 0\\ -\omega_y & \omega_x & 0 & 0 & 0 & 0\\ 0 & -v_z & v_y & 0 & -\omega_z & \omega_{y} \\ v_z & 0 & -v_x & \omega_z & 0 & -\omega_x\\ -v_y & v_x & 0 & -\omega_y & \omega_x & 0 \end{bmatrix}= \begin{bmatrix} \tilde{\omega} & 0\\ \tilde{v} & \tilde{\omega} \end{bmatrix} Previously, it was discussed how the derivative operators form the Lie algebra of the SE(3) group. Similarly, the :math:`6\times6` :math:`[Ad]` matrices themselves fulfill the necessary requirements of a Lie group :cite:`selig2005geometric`. The :math:`[ad]` and :math:`[ad]^*` matrices comprise their respective Lie algebras. Acceleration of a body point **************************** The spatial acceleration :math:`\dot{\boldsymbol{\underline{v}}} = \{\dot{\underline{v}};\ \dot{\underline{\omega}}\}` of a body is the time derivative of its spatial velocity :math:`\boldsymbol{\underline{v}} = \{\underline{v};\ \underline{\omega}\}` taken at a point fixed in space, the origin of the reference frame. Its linear part is not the acceleration of a material point of the body. The velocity of the body point that is at :math:`\underline{r}` is :math:`\underline{v} + \underline{\omega}\times\underline{r}`, and differentiating it with :math:`\dot{\underline{r}}` equal to that velocity gives .. math:: :label: eq:point_acceleration \ddot{\underline{r}} = \dot{\underline{v}} + \dot{\underline{\omega}}\times\underline{r} + \underline{\omega}\times(\underline{v} + \underline{\omega}\times\underline{r}) = \dot{\underline{v}}_{,p} + \underline{\omega}\times\underline{v}_{,p}, where :math:`\dot{\underline{v}}_{,p}` and :math:`\underline{v}_{,p}` are the linear parts of the two screws taken at the point by :math:`[Ad]`. At the origin itself the acceleration differs from :math:`\dot{\underline{v}}` by :math:`\underline{\omega}\times\underline{v}`; the two agree only where the velocity of the point is zero or parallel to :math:`\underline{\omega}`, on the instantaneous screw axis. ``ksl_screw_pointAcceleration()`` evaluates Eq. :eq:`eq:point_acceleration` at the origin of a frame :math:`\Phi`, in the coordinates of that frame. Influence coefficient matrices ****************************** An important tool in the analysis of mechanisms and multibody systems is a map of a particular joint's velocity to the body velocity. From Eqs. :eq:`eq:omega_z` and :eq:`eq:screw`, it is possible to find the velocity screw associated with a revolute joint. The joint is aligned with :math:`z` axis of reference frame :math:`a`. .. math:: :label: eq:unit_velocity \underline{\mathbf{v}}_a= \begin{Bmatrix} 0\\0\\ 0\\ 0\\ 0\\\dot{q} \end{Bmatrix}= \begin{Bmatrix} 0\\0\\ 0 \\0 \\0 \\1 \end{Bmatrix}\dot{q}=\underline{\mathbf{h}}_a\dot{q} Here :math:`\underline{h}_a` is the *influence coefficient matrix* :cite:`tsai1999robot` associated with the joint. Note that the influence coefficient matrix taken at the joint's origin is simply a unit twist, :math:`\omega_z`, about the :math:`z` axis. Usually it is desirable to express the influence coefficient matrix with respect to other coordinate systems, such as the inertial reference frame. Using the :math:`[Ad]` operator in Eq. :eq:`eq:screw` yields: .. math:: :label: eq:influence_coefficient_matrix \underline{\mathbf{v}}_f= \underline{\mathbf{h}}_f\dot{q}= [Ad]_{fa} \underline{\mathbf{h}}_a\dot{q}= \begin{bmatrix} R_{fa} &\tilde{r}_{fa}R_{fa}\\ 0 & R_{fa} \end{bmatrix} \begin{Bmatrix} 0\\0\\ 0 \\0 \\0 \\1 \end{Bmatrix}\dot{q} These influence coefficient matrices taken with respect to the inertial reference frame form elements of the Jacobian matrix of a mechanism. As a mechanism moves through varying configurations, :math:`\underline{h}_f` changes, and may require updating many millions of times in the course of a simulation. Equation :eq:`eq:influence_coefficient_matrix` reveals important insight that allows one to reduce the number of floating point operations (FLOPs) required to update the influence coefficient matrix of primitive joints. .. math:: :label: eq:screw_basis \underline{\mathbf{h}}_f= \begin{Bmatrix} r_yR_{33}-r_zR_{23}\\ r_zR_{13}-r_xR_{33}\\ r_xR_{23}-r_yR_{13}\\ R_{13}\\ R_{23}\\ R_{33}\\ \end{Bmatrix}= \begin{bmatrix} R_{11} & R_{12} & R_{13} & r_yR_{31}-r_zR_{21} & r_yR_{32}-r_zR_{22} & r_yR_{33}-r_zR_{23}\\ R_{21} & R_{22} & R_{11} & r_zR_{11}-r_xR_{31} & r_zR_{12}-r_xR_{32} & r_zR_{13}-r_xR_{33}\\ R_{31} & R_{32} & R_{33} & r_xR_{21}-r_yR_{11} & r_xR_{22}-r_yR_{12} & r_xR_{23}-r_yR_{13}\\ 0 & 0 & 0 & R_{11} & R_{12} & R_{13}\\ 0 & 0 & 0 & R_{21} & R_{22} & R_{23}\\ 0 & 0 & 0 & R_{31} & R_{32} & R_{33}\\ \end{bmatrix} \begin{Bmatrix} 0\\0\\ 0 \\0 \\0 \\1 \end{Bmatrix} Once the position and orientation of each joint in a mechanism has been computed, the influence coefficient matrix can be computed simply by forming the corresponding column of :math:`[Ad]`, which requires only 9 additional FLOPs for revolute joints and no additional FLOPs for prismatic joints. Additionally, if SE(3) displacements and the Jacobian matrix are stored in column-major order, updating the influence coefficient matrices and elements Jacobian matrix can be vectorized with a stride of 1, which is optimal in terms of memory access. Unit screws and amplitude ************************* A twist is the product of a *unit screw* and an *amplitude*, :math:`\underline{\mathbf{v}} = \hat{\underline{\mathbf{s}}}\,\dot\theta` :cite:`hunt1978kinematic,murray1994mathematical,lynch2017modern`. The amplitude is not the length of the :math:`6\times1` vector: the linear and angular parts have different units, and their relative size changes with the length unit and with the origin of the coordinate system, so that length has no physical meaning. Instead: - if :math:`\underline\omega \neq 0`, the amplitude is :math:`\dot\theta = \lVert\underline\omega\rVert`, the rate of rotation about the screw axis, and the unit screw is .. math:: \hat{\underline{\mathbf{s}}} = \frac{\underline{\mathbf{v}}}{\lVert\underline\omega\rVert} = \begin{Bmatrix} \underline{r} \times \underline{s} + h\,\underline{s} \\ \underline{s} \end{Bmatrix} where :math:`\underline{s}` is the unit vector along the screw axis, :math:`\underline{r}` is any point on the axis, and :math:`h = \underline\omega \cdot \underline v / \lVert\underline\omega\rVert^2` is the pitch; - if :math:`\underline\omega = 0`, the twist is a pure translation (infinite pitch), :math:`\dot\theta = \lVert\underline v\rVert`, and :math:`\hat{\underline{\mathbf{s}}} = \{\underline v / \lVert\underline v\rVert, \underline 0\}`. Both give the same unit screw in any coordinate system and any length unit. ``ksl_screw_norm()`` returns the amplitude and ``ksl_screw_normalize()`` divides by it. ``ksl_screw_pitch()`` returns :math:`h` and ``ksl_screw_axisPoint()`` the point of the axis nearest the reference point, :math:`\underline\omega \times \underline v / \lVert\underline\omega\rVert^2`. Dividing instead by the dual magnitude :math:`\lVert\underline\omega\rVert + \varepsilon\,\underline\omega\cdot \underline v / \lVert\underline\omega\rVert` would also remove the pitch, leaving the Plücker coordinates of the screw axis, a line rather than a unit twist. Exponential and logarithm ************************* A twist held constant for unit time carries a frame through a screw motion. With :math:`\boldsymbol{\underline{\xi}} = \{\underline{\rho};\ \theta\underline{u}\}`, where :math:`\underline{u}` is a unit vector, the displacement reached is the matrix exponential .. math:: \Phi = \exp\begin{bmatrix} \theta\tilde{u} & \underline{\rho} \\ 0 & 0 \end{bmatrix} = \begin{bmatrix} R & V\underline{\rho} \\ 0 & 1 \end{bmatrix}, \qquad \begin{aligned} R &= I + \sin\theta\,\tilde{u} + (1 - \cos\theta)\,\tilde{u}\tilde{u}, \\ V &= I + \frac{1 - \cos\theta}{\theta}\,\tilde{u} + \frac{\theta - \sin\theta}{\theta}\,\tilde{u}\tilde{u}, \end{aligned} computed by ``ksl_screw_exp()``. Its inverse, ``ksl_screw_log()``, takes the rotation vector :math:`\theta\underline{u}` of :math:`R` with :math:`0 \le \theta \le \pi` and .. math:: \underline{\rho} = V^{-1}\underline{r}, \qquad V^{-1} = I - \frac{\theta}{2}\,\tilde{u} + \left(1 - \frac{\theta}{2}\cot\frac{\theta}{2}\right)\tilde{u}\tilde{u}. The logarithm is the screw of the displacement (Chasles): its axis passes through :math:`\underline{u}\times\underline{\rho}/\theta` and its pitch is :math:`\underline{u}^{T}\underline{\rho}/\theta`. Scaling it by :math:`t` interpolates the screw motion, :math:`\Phi_1\exp\bigl(t\log(\Phi_1^{-1}\Phi_2)\bigr)`, which is ``ksl_SE3_sclerp()`` :cite:`kavan2008geometric`; ``ksl_SE3_squad_keys()`` extends it to a sequence of key displacements in the way squad extends slerp :cite:`shoemake1987quaternion` :cite:`parkravani1995bezier`, with a velocity screw that is continuous at the keys. ``ksl_SE3_exp()`` and ``ksl_SE3_log()`` are the same functions as ``ksl_screw_exp()`` and ``ksl_screw_log()``. Double precision ---------------- .. doxygenunion:: ksl_screw_t .. doxygenfunction:: ksl_screw .. doxygenfunction:: ksl_screw_alloc .. doxygenfunction:: ksl_screw_norm .. doxygenfunction:: ksl_screw_normalize .. doxygenfunction:: ksl_screw_normalized .. doxygenfunction:: ksl_screw_pitch .. doxygenfunction:: ksl_screw_axisPoint .. doxygenfunction:: ksl_screw_pointAcceleration .. doxygenfunction:: ksl_dot_cs .. doxygenfunction:: ksl_screw_scale .. doxygenfunction:: ksl_screw_copy .. doxygenfunction:: ksl_screw_invert .. doxygenfunction:: ksl_screw_inverted .. doxygenfunction:: ksl_axpy_ss .. doxygenfunction:: ksl_xpy_ss .. doxygenfunction:: ksl_nxpy_ss .. doxygenfunction:: ksl_product_as .. doxygenfunction:: ksl_add_ss .. doxygenfunction:: ksl_subtract_ss .. doxygenfunction:: ksl_add_sst .. doxygenfunction:: ksl_hstz .. doxygenfunction:: ksl_hsrx .. doxygenfunction:: ksl_hsry .. doxygenfunction:: ksl_hsrz .. doxygenfunction:: ksl_hstxinv .. doxygenfunction:: ksl_hstyinv .. doxygenfunction:: ksl_hstzinv .. doxygenfunction:: ksl_hsrxinv .. doxygenfunction:: ksl_hsryinv .. doxygenfunction:: ksl_hsrzinv .. doxygenfunction:: ksl_cross_ss .. doxygenfunction:: ksl_cross_sst .. doxygenfunction:: ksl_product_Adrs .. doxygenfunction:: ksl_product_Adrsinv .. doxygenfunction:: ksl_product_Adrinvs .. doxygenfunction:: ksl_product_Adts .. doxygenfunction:: ksl_product_Adtinvs .. doxygenfunction:: ksl_product_Adtsinv .. doxygenfunction:: ksl_product_Ads .. doxygenfunction:: ksl_product_Adsinv .. doxygenfunction:: ksl_product_Adinvs .. doxygenfunction:: ksl_screw_exp .. doxygenfunction:: ksl_screw_log .. doxygenfunction:: ksl_hsra .. doxygenfunction:: ksl_hsrainv .. doxygenfunction:: ksl_hsta .. doxygenfunction:: ksl_hstainv .. doxygenfunction:: ksl_hstx .. doxygenfunction:: ksl_hsty .. doxygenfunction:: ksl_screw_copy_cmo .. doxygenfunction:: ksl_screw_copy_rmo .. doxygenfunction:: ksl_screw_ncopy_cmo .. doxygenfunction:: ksl_screw_ncopy_rmo Single precision ---------------- .. doxygenunion:: ksl_screwf_t .. doxygenfunction:: ksl_screwf .. doxygenfunction:: ksl_screwf_alloc .. doxygenfunction:: ksl_screwf_norm .. doxygenfunction:: ksl_screwf_normalize .. doxygenfunction:: ksl_screwf_pitch .. doxygenfunction:: ksl_screwf_axisPoint .. doxygenfunction:: ksl_screwf_pointAcceleration .. doxygenfunction:: ksl_dot_csf .. doxygenfunction:: ksl_screwf_scale .. doxygenfunction:: ksl_screwf_copy .. doxygenfunction:: ksl_screwf_invert .. doxygenfunction:: ksl_screwf_inverted .. doxygenfunction:: ksl_axpy_ssf .. doxygenfunction:: ksl_xpy_ssf .. doxygenfunction:: ksl_nxpy_ssf .. doxygenfunction:: ksl_product_asf .. doxygenfunction:: ksl_add_ssf .. doxygenfunction:: ksl_subtract_ssf .. doxygenfunction:: ksl_add_sstf .. doxygenfunction:: ksl_hstzf .. doxygenfunction:: ksl_hsrxf .. doxygenfunction:: ksl_hsryf .. doxygenfunction:: ksl_hsrzf .. doxygenfunction:: ksl_hstxinvf .. doxygenfunction:: ksl_hstyinvf .. doxygenfunction:: ksl_hstzinvf .. doxygenfunction:: ksl_hsrxinvf .. doxygenfunction:: ksl_hsryinvf .. doxygenfunction:: ksl_hsrzinvf .. doxygenfunction:: ksl_cross_ssf .. doxygenfunction:: ksl_cross_sstf .. doxygenfunction:: ksl_product_Adrsf .. doxygenfunction:: ksl_product_Adrsinvf .. doxygenfunction:: ksl_product_Adrinvsf .. doxygenfunction:: ksl_product_Adtsf .. doxygenfunction:: ksl_product_Adtinvsf .. doxygenfunction:: ksl_product_Adtsinvf .. doxygenfunction:: ksl_product_Adsf .. doxygenfunction:: ksl_product_Adsinvf .. doxygenfunction:: ksl_product_Adinvsf .. doxygenfunction:: ksl_screwf_exp .. doxygenfunction:: ksl_screwf_log .. doxygenfunction:: ksl_hsraf .. doxygenfunction:: ksl_hsrainvf .. doxygenfunction:: ksl_hstaf .. doxygenfunction:: ksl_hstainvf .. doxygenfunction:: ksl_screwf_copy_cmo .. doxygenfunction:: ksl_screwf_copy_rmo .. doxygenfunction:: ksl_screwf_ncopy_cmo .. doxygenfunction:: ksl_screwf_ncopy_rmo .. doxygenfunction:: ksl_screwf_normalized .. doxygenfunction:: ksl_hstxf .. doxygenfunction:: ksl_hstyf