#10848: Checks for Hermitian matrices
------------------------------+---------------------------------------------
Reporter: rbeezer | Owner: jason, was
Type: enhancement | Status: needs_work
Priority: minor | Milestone:
Component: linear algebra | Keywords:
Author: Rob Beezer | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
Changes (by rbeezer):
* status: needs_review => needs_work
Comment:
Replying to [comment:8 flawrence]:
> Would it be possible to copy the `matrix_double_dense.pyx`
`is_hermitian` into `matrix_dense.pyx` (adjusting the default tolerance
and doctests, of course) and thus remove the quirk that makes this warning
necessary?
Hi Felix,
This sounds like a good idea.
* I'd imagine the code in matrix2 branching for exact vs. inexact rings.
Any tolerance would be ignored for exact rings.
* Are RDF/CDF/RR/CC the only inexact rings in Sage? They need to be
amenable to an absolute value in order to do the comparison. As organized
in the patch, we at least know just which ring we are dealing with.
* Same idea would apply to `is_symmetric` and `is_unitary`.
* I'm guessing this will change some behavior if applied to is_symmetric.
In other words, I bet the exact version gets called for some inexact
rings. I may test this later.
BTW, I saw your post on sage-devel asking for greater `SciPY/NumPy`
integration. I'm hoping to (slowly) make more of the matrix algebra
available, so maybe that will help.
Jason - any comments on the above?
Rob
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10848#comment:9>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.