[Numpy-discussion] def of var of complex

Neal Becker ndbecker2 at gmail.com
Tue Jan 8 20:26:42 EST 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