[Numpy-discussion] def of var of complex

Neal Becker ndbecker2@gmail....
Tue Jan 8 19:26:42 CST 2008


I noticed that if I generate complex rv i.i.d. with var=1, that numpy says:

var (<real part>) -> (close to 1.0)
var (<imag part>) -> (close to 1.0)

but

var (complex array) -> (close to complex 0)

Is that not a strange definition?



More information about the Numpy-discussion mailing list