Corrected documented value for P (= -1!). Instead of repeating the assignment P=-1 in multiple internal functions, it might be advisable to define a class-wide parameter?

This commit is contained in:
Philip Eisenlohr 2019-02-01 14:04:55 +01:00
parent 06f67ce500
commit e6fe312f85
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class Quaternion:
Convention 4: Euler angle triplets are implemented using the Bunge convention,
with the angular ranges as [0, 2π],[0, π],[0, 2π]
Convention 5: the rotation angle ω is limited to the interval [0, π]
Convention 6: P = 1 (as default)
Convention 6: P = -1 (as default)
w is the real part, (x, y, z) are the imaginary parts.