Trigonometric functions

Previous  Top  Next

At the following procedure in a 1st step the quaternions will be converted to complex numbers. Then in a 2nd step the complex function is executed. In a 3rd step the complex result will be converted to a quaternion using the old quaternion.
Because I didnot find a publication with a proper description about this topic, I don't know whether this is correct and whether I can use this procedure for all function I used it. It would be nice to get a hint about this. (email:

The function func(q) should be executed with the quaternion clip0094
q can be seperated into the
real part    clip0192and the  
imaginary part    clip0096 .  
With this a complex number
   clip0097 is created.
The function func(z) is executed with this complex number.
Using the imaginary part of the former quaternion the result is created:
with clip0100  

This procedure is used in Calc 3D for the following functions:
sin; cos; tan; sinh; cosh; tanh; arcsin; arccos; arctan; arccot; arsinh; arcosh; artanh; arcoth; log; exp