A Hilbert-space-valued random variable is a measurable map into a Hilbert space. It is square-integrable when , in which case its mean is defined by the Bochner integral.