Liste des Groupes | Revenir à s math |
Le 10/03/2025 à 10:04, Chris M. Thomasson a écrit :Thanks. Actually, this is the first time I used split complex numbers. Well, that's pretty cool. I have to thank Python, you and RH for that. Humm... I wonder what the set would look like using one of my Mulia algorithms or even one of my fractal exploder algorithms on it. Humm...On 3/10/2025 1:33 AM, efji wrote:Yes !Le 10/03/2025 à 03:03, Chris M. Thomasson a écrit :>
>>>
Indeed. Sorry for the stupid question, but the following parts of RH's description:
>
Z=aa'+bb'+i(ab'+a'b) and not Z=aa'-bb'+i(ab'+a'b).
>
Means a = x component, b = y component, right? ;^o
Well...
In his disturbed mind, (a,b) = a-b on the x axis :)
>
But forget the pathetic egotic and just try a+jb=(a,b) un R^2 with the rule (a+ib)*(a'+jb') = aa'+bb'+j(ab'+a'b) which is the rule on the split-complex set, (thus j^2=1).
>
Humm... I am not all that familiar with the split complex numbers. Something like this?
>
glm::vec2
ct_complex_split_mul(
const glm::vec2& z1,
const glm::vec2& z2
) {
return {
z1.x * z2.x + z1.y * z2.y,
z1.x * z2.y + z1.y * z2.x
};
}
>
>
Where:
>
glm::vec2 s0 = { 0, 1 };
>
std::cout << "s0 * s0 = " << ct_complex_split_mul(s0, s0) << "\n";
>
outputs:
>
s0 * s0 = (1, 0)
>
?
Les messages affichés proviennent d'usenet.