Function

NumCosmoMathQuaternionnew_from_vector

Declaration [src]

NcmQuaternion*
ncm_quaternion_new_from_vector (
  NcmTriVec* v
)

Description [src]

Creates a new NcmQuaternion from a NcmTriVec.

Parameters

v

Type: NcmTriVec

A NcmTriVec.

The data is owned by the caller of the function.

Return value

Type: NcmQuaternion

A new NcmQuaternion.

The caller of the function takes ownership of the data, and is responsible for freeing it.