You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rename PMComplex >> conjugated to complexConjugate #192
changed the title [-]Rename PMComplex >> conjugated to complexConjugate[/-][+]Rename ``PMComplex >> conjugated`` to ``complexConjugate``[/+]on Apr 5, 2022
I am noticing now that the Complex Number Test Class has a large number of methods. A refactor might split this up, and there are a number of ways to do that (I'll provide a list in a moment...).
I referred to Wikipedia, and the word used there is conjugation:
Conjugation of quaternions is analogous to conjugation of complex numbers and to transposition (also known as reversal) of elements of Clifford algebras. To define it, let {\displaystyle q=a+b,\mathbf {i} +c,\mathbf {j} +d,\mathbf {k} } be a quaternion. The conjugate of q is the quaternion {\displaystyle q^{*}=a-b,\mathbf {i} -c,\mathbf {j} -d,\mathbf {k} }. It is denoted by q∗, qt, {\displaystyle {\tilde {q}}}, or q.[7] Conjugation is an involution, meaning that it is its own inverse, so conjugating an element twice returns the original element. The conjugate of a product of two quaternions is the product of the conjugates in the reverse order. That is, if p and q are quaternions, then (pq)∗ = q∗p∗, not p∗q∗.
The conjugation of a quaternion, in stark contrast to the complex setting, can be expressed with multiplication and addition of quaternions:
Activity
[-]Rename PMComplex >> conjugated to conjugated [/-][+]Rename PMComplex >> conjugated to complexConjugate[/+][-]Rename PMComplex >> conjugated to complexConjugate[/-][+]Rename ``PMComplex >> conjugated`` to ``complexConjugate``[/+]hemalvarambhia commentedon Apr 10, 2022
hemalvarambhia commentedon Apr 11, 2022
I am noticing now that the Complex Number Test Class has a large number of methods. A refactor might split this up, and there are a number of ways to do that (I'll provide a list in a moment...).
nicolas-cellier-aka-nice commentedon Apr 23, 2022
Because quaternions also have a conjugate operation, will you need yet another
quaternionConjugateselector?hemalvarambhia commentedon Apr 23, 2022
I referred to Wikipedia, and the word used there is conjugation:
The conjugation of a quaternion, in stark contrast to the complex setting, can be expressed with multiplication and addition of quaternions:
{\displaystyle q^{*}=-{\frac {1}{2}}(q+,\mathbf {i} ,q,\mathbf {i} +,\mathbf {j} ,q,\mathbf {j} +,\mathbf {k} ,q,\mathbf {k} )~.}
hemalvarambhia commentedon Apr 23, 2022
Are we discovering that conjugate may have meanings in different contexts? I.e. bounded contexts.