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

Implement .opposite() for algebras #39585

Open
1 task done
Eloitor opened this issue Feb 24, 2025 · 0 comments
Open
1 task done

Implement .opposite() for algebras #39585

Eloitor opened this issue Feb 24, 2025 · 0 comments

Comments

@Eloitor
Copy link
Contributor

Eloitor commented Feb 24, 2025

Problem Description

Given a quaternion algebra B, I didn't find a direct way to construct the opposite algebra,

Proposed Solution

B.opposite() could give the opposite algebra.

Alternatives Considered

I could manually do:

sage: B.<i,j,k> = QuaternionAlgebra(5)
sage: B
Quaternion Algebra (-2, -5) with base ring Rational Field
sage: A = QuaternionAlgebra(*reversed(invs), names=(B.gen(1), B.gen(0), B.gen(2)))
sage: j,i,k = A.gens()
sage: j*i
k

Additional Information

No response

Is there an existing issue for this?

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant