Method

NumCosmoMathQuaternionconjugate_u_mul

Declaration [src]

void
ncm_quaternion_conjugate_u_mul (
  NcmQuaternion* q,
  NcmQuaternion* u,
  NcmQuaternion* res
)

Description [src]

Computes the product of two NcmQuaternion and stores the result in res. The second NcmQuaternion is conjugated before the multiplication. The result is $r = q u^\dagger$, where $q$ and $u$ are q and u, respectively, and $r$ is res. The conjugation is done by negating the vector part of u.

Parameters

u

Type: NcmQuaternion

A NcmQuaternion.

The data is owned by the caller of the method.
res

Type: NcmQuaternion

A NcmQuaternion.

The data is owned by the caller of the method.