Navigation

Operators and Keywords

Function List:

C++ API

Function File: qj

Create y-component of a quaternion's vector part.

          q = w + x*qi + y*qj + z*qk

Example

          octave:1> q1 = quaternion (1, 2, 3, 4)
          q1 = 1 + 2i + 3j + 4k
          octave:2> q2 = 1 + 2*qi + 3*qj + 4*qk
          q2 = 1 + 2i + 3j + 4k
          octave:3>

Package: quaternion