Zephyr Scientific Library (zscilib)
Functions
Initialisation

Quaternion initisialisation. More...

Functions

void zsl_quat_init (struct zsl_quat *q, enum zsl_quat_type type)
 Convenience function to set the supplied quaternion into a known state. More...
 

Detailed Description

Quaternion initisialisation.

Function Documentation

◆ zsl_quat_init()

void zsl_quat_init ( struct zsl_quat q,
enum zsl_quat_type  type 
)

Convenience function to set the supplied quaternion into a known state.

Parameters
qThe quaterion to initialise.
typeThe memory layout to use when initialising the quaternion.