Classes | Functions | Variables
include/quaternion.h File Reference
#include "complex.h"
#include "quaternion.h"
#include "math.h"
Include dependency graph for include/quaternion.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  quaternion
 

Functions

double abs (quaternion a)
 
quaternion cpow (quaternion a, int b)
 
bool isEqual (quaternion a, quaternion b)
 
bool isEqualE (quaternion a, quaternion b)
 
bool isReal (quaternion x)
 
quaternion qabs (quaternion a)
 
quaternion qadd (quaternion a, quaternion b)
 
quaternion qconj (quaternion a)
 
quaternion qinv (quaternion a)
 
quaternion qmul (quaternion a, quaternion b)
 
quaternion qneg (quaternion a)
 
quaternion qNormalize (quaternion q)
 
quaternion qpos (quaternion a)
 
void qprint (quaternion c)
 
quaternion qscale (double s, quaternion a)
 
quaternion qsub (quaternion a, quaternion b)
 
quaternion r2q (double x)
 
void rotate (double *x, double *y, double *z, quaternion q)
 

Variables

quaternion qzero = {0,0,0,0}
 

Function Documentation

double abs ( quaternion  a)

Definition at line 99 of file include/quaternion.h.

quaternion cpow ( quaternion  a,
int  b 
)

Definition at line 91 of file include/quaternion.h.

bool isEqual ( quaternion  a,
quaternion  b 
)

Definition at line 81 of file include/quaternion.h.

bool isEqualE ( quaternion  a,
quaternion  b 
)

Definition at line 86 of file include/quaternion.h.

bool isReal ( quaternion  x)

Definition at line 198 of file include/quaternion.h.

quaternion qabs ( quaternion  a)

Definition at line 104 of file include/quaternion.h.

quaternion qadd ( quaternion  a,
quaternion  b 
)

Definition at line 51 of file include/quaternion.h.

quaternion qconj ( quaternion  a)

Definition at line 126 of file include/quaternion.h.

quaternion qinv ( quaternion  a)

Definition at line 134 of file include/quaternion.h.

quaternion qmul ( quaternion  a,
quaternion  b 
)

Definition at line 41 of file include/quaternion.h.

quaternion qneg ( quaternion  a)

Definition at line 32 of file include/quaternion.h.

quaternion qNormalize ( quaternion  q)

Definition at line 121 of file include/quaternion.h.

quaternion qpos ( quaternion  a)

Definition at line 170 of file include/quaternion.h.

void qprint ( quaternion  c)

Definition at line 186 of file include/quaternion.h.

quaternion qscale ( double  s,
quaternion  a 
)

Definition at line 111 of file include/quaternion.h.

quaternion qsub ( quaternion  a,
quaternion  b 
)

Definition at line 61 of file include/quaternion.h.

quaternion r2q ( double  x)

Definition at line 71 of file include/quaternion.h.

void rotate ( double *  x,
double *  y,
double *  z,
quaternion  q 
)

Definition at line 203 of file include/quaternion.h.

Variable Documentation

quaternion qzero = {0,0,0,0}

Definition at line 30 of file include/quaternion.h.



asr_flock_of_birds
Author(s): Bernhardt Andre, Engelmann Stephan, Giesler Björn, Heller Florian, Jäkel Rainer, Nguyen Trung, Pardowitz Michael, Weckesser Peter, Yi Xie, Zöllner Raoul
autogenerated on Mon Jun 10 2019 12:44:40