On 9/12/12 12:11 PM, Dima Pasechnik wrote:


On Thursday, 13 September 2012 01:04:54 UTC+8, 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).

    Note:

    sage: v=vector(CDF,[2+I,5])
    sage: v
    (2.0 + 1.0*I, 5.0)
    sage: v*v
    28.0 + 4.0*I
    sage: v.column().H*v.column()
    [30.0]

    I'd like the third computation to be 30.0.

both products make sense, in different contexts. The 2nd one is usually
referred to as Hermitian one.


Is one of the definitions in much wider use than the other one? I'm coming from a linear algebra perspective, where the Hermitian inner product is very standard.

Thanks,

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