Opened 4 years ago

Closed 4 years ago

#25008 closed enhancement (fixed)

Additional method "matrix" / "_matrix_" for the element class of ClassicalMatrixLieAlgebra

Reported by: soehms Owned by:
Priority: major Milestone: sage-8.2
Component: algebra Keywords: classical lie algebra matrix _matrix_
Cc: tscrim Merged in:
Authors: Sebastian Oehms Reviewers: Travis Scrimshaw
Report Upstream: N/A Work issues:
Branch: f1d16d1 (Commits, GitHub, GitLab) Commit: f1d16d1971c061c70cd369abaf395b41f4ed8741
Dependencies: Stopgaps:

Status badges

Description

A method to obtain the underlying matrix as element of the corresponding full matrix space analog to the similar method of MatrixGroupElement_generic should be added. This may be a shortcut for the following:

sage: LM = lie_algebras.sp(QQ, 4, representation='matrix')
sage: e1, e2, f1, f2, h1, h2 = LM.gens()
sage: mh1 = LM.associative_algebra()(dict(h1)); mh1
[ 1  0  0  0]
[ 0 -1  0  0]
[ 0  0 -1  0]
[ 0  0  0  1]
sage: mh1.parent()
Full MatrixSpace of 4 by 4 sparse matrices over Rational Field

Change History (6)

comment:1 Changed 4 years ago by soehms

  • Branch set to u/soehms/matrix_method-25008

comment:2 Changed 4 years ago by git

  • Commit set to 089091a2d2a637a598e309c353d0fc9fdf4d3f35

Branch pushed to git repo; I updated commit sha1. New commits:

089091asimplification

comment:3 Changed 4 years ago by soehms

  • Status changed from new to needs_review

comment:4 Changed 4 years ago by tscrim

  • Branch changed from u/soehms/matrix_method-25008 to public/lie_algebras/matrix_method-25008
  • Commit changed from 089091a2d2a637a598e309c353d0fc9fdf4d3f35 to f1d16d1971c061c70cd369abaf395b41f4ed8741
  • Reviewers set to Travis Scrimshaw

I made a few small fixes to the documentation and added another test. If my changes look good, then you can set a positive review.


New commits:

f1d16d1Small doc tweaks and adding another test.

comment:5 Changed 4 years ago by soehms

  • Status changed from needs_review to positive_review

comment:6 Changed 4 years ago by vbraun

  • Branch changed from public/lie_algebras/matrix_method-25008 to f1d16d1971c061c70cd369abaf395b41f4ed8741
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.