Boost logo

Ublas :

Subject: [ublas] Doc error in norm_2?
From: Neal Becker (ndbecker2_at_[hidden])
Date: 2009-01-29 09:17:13


 Doc says:
   // norm_2 v = sqrt (sum (v [i] * v [i]))
http://www.boost.org/doc/libs/1_37_0/libs/numeric/ublas/doc/vector_expression.htm#vector_expression

Shouldn't that be sqrt(sum (|v[i]|**2)) ?