#10683: Hermitian inner product
-----------------------------------+----------------------------------------
Reporter: rbeezer | Owner: jason, was
Type: enhancement | Status: needs_info
Priority: minor | Milestone: sage-4.7
Component: linear algebra | Keywords:
Author: Rob Beezer | Upstream: N/A
Reviewer: Karl-Dieter Crisman | Merged:
Work_issues: |
-----------------------------------+----------------------------------------
Changes (by kcrisman):
* status: needs_review => needs_info
* reviewer: => Karl-Dieter Crisman
Comment:
This is really good. Docs are fine, excellent examples. I could barely
think of anything to test.
{{{
sage: k.<b> = FiniteField(9); k
Finite Field in b of size 3^2
sage: vector([1,1]).hermitian_inner_product(vector(k,[1,b]))
b + 1
sage: vector([1,i]).hermitian_inner_product(vector(k,[1,b]))
---------------------------------------------------------------------------
ArithmeticError:
}}}
Which is a little obscure, especially if this were buried in other code.
Of course,
{{{
sage: vector([1,i]).dot_product(vector(k,[1,b]))
---------------------------------------------------------------------------
ArithmeticError:
}}}
So I don't know whether this is a reason to deny positive review. What do
you think? Separate ticket, or fix here?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10683#comment:5>
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.