Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comma shift issue CLI only #161

Open
ManuelPardoPose opened this issue Oct 7, 2024 · 0 comments
Open

Comma shift issue CLI only #161

ManuelPardoPose opened this issue Oct 7, 2024 · 0 comments

Comments

@ManuelPardoPose
Copy link

Kalker Web:

>> A(a) = [cos(a), -sin(a); sin(a), cos(a)]
>> A(0)
= [1,  -0    0,  1 ]
>> A(90)
= [-0.4480736161, -0.8939966636    0.8939966636,  -0.4480736161]
>> cos(90)
≈ -0.4480736161

Kalker CLI:

>> A(a) = [cos(a), -sin(a); sin(a), cos(a)]
>> A(0)
= [1,  -0
 0,  1 ]
>> A(90)
≈ [-4.480736161,       -8.939966636
 0.8939966636005579, -4.480736161      ]
>> cos(90)
≈ -0.4480736161

Top left corner of A(90) is approximately "-4.480736161" only in the cli. Web result seems to be right.
Since "90" is not in degrees I suspected that it happened because of large numbers but trying the same with π resulted in similar behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant