id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
13393 Vector normalization chrisjamesberg Chris Berg "Fix vector normalization so that it agrees with the standard definition of normalizing a vector. Right now it divides the entries of the vector by the first nonzero entry of the vector. For instance:
{{{sage: v = vector([1,2,3])}}}
{{{sage: v.normalize()}}}
{{{(1, 2, 3)}}}
Shouldn't the default implementation be the Euclidean norm? Especially since v.norm() returns the Euclidean norm.
--------
'''Apply''' [attachment:combined.patch] and [attachment:trac_13393_reviewer.patch]" defect closed major sage-5.7 linear algebra fixed vector, normalize jason saliola novoselt rbeezer serrano gagern sage-5.7.beta0 Chris Berg, Eviatar Bach Luis Serrano, Benjamin Jones N/A