Forums > Jitter

using for rotation matrix : is this the expected behaviour ?

Mar 13 2012 | 1:30 am

hello folks,

I am trying to code a rotation matrix with in complex (= 2 planes) mode, but I get the *weird* following behaviour : when I change the value of the first complex value in the rotation matrix, the output of the whole first line is changing.
(See patcher attached)
I would have expected only the first cell to change and being able to have as many complex rotation as the many cells in the matrix…

Is this the normal behaviour ? And if so what is it I do not understand ?
The documentation on* objects is a bit light on the topic …
thanks for your help

— Pasted Max Patch, click to expand. —
Mar 13 2012 | 1:49 pm

OK, I got confused, the behaviour is actually normal.

Nevertheless, it seems that the explanation given in the help patcher is wrong.

In the patcher [p complex+float64], one can read :
"for two complex numbers (a, bi) and (c, di) the product is (ab-cd, (ad+bc)i)."

while it should be :
"for two complex numbers (a, bi) and (c, di) the product is (ac-bd, (ad+bc)i)."

Also, the help patcher text shows : "The object converts a given input matrix to an upper triangular matrix".

… which is also confusing.

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > Jitter