On 9/12/12 7:47 PM, Rob Beezer wrote:


On Wednesday, September 12, 2012 10:04:54 AM UTC-7, jason wrote:

    I'm curious: is there a good reason why the product of two complex
    vectors does not conjugate the first vector (which would yield the
    standard inner product for complex vectors).


I think because I lost the argument that William advances.  But I did
implement:

sage: v=vector(CDF,[2+I,5])
sage: v.hermitian_inner_product(v)
30.0

Wow, that's way more characters than v.conjugate()*v, which is already way more than matlab/octave's natural v'*v.

But thanks for implementing it anyway!

Jason


--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


Reply via email to