# HG changeset patch # User Jan Vrany # Date 1455528394 0 # Node ID f2f3abaadcb48e0e7cd6adb6667f804fcf26a6ca # Parent 5e949760a4e80a07d4dfc51047694c6807ef403a# Parent b2b3ad682045f2c1a835f0a83a9826989fdf5af1 Merge diff -r 5e949760a4e8 -r f2f3abaadcb4 AbstractNumberVector.st --- a/AbstractNumberVector.st Sun Feb 14 07:29:57 2016 +0000 +++ b/AbstractNumberVector.st Mon Feb 15 09:26:34 2016 +0000 @@ -249,7 +249,7 @@ ! primAddScalar: aScalar - "low performace fallback: destructively add the scalar argument into the receiver." + "low performance fallback: destructively add the scalar argument into the receiver." 1 to: self size do:[:i| self at: i put: (self at: i) + aScalar]. ! @@ -386,6 +386,7 @@ !AbstractNumberVector methodsFor:'vector arithmetic'! length + "Return the length of the receiver interpreted as vector (that is the length of the vector from 0.0 @ 0.0 @ ... @ 0.0 to the point in the n-dimensional space represented by the receiver). @@ -402,6 +403,7 @@ ! squaredLength + "Return the squared length of the receiver interpreted as vector. Obsolete: the name 'squaredLength' may lead to confusion. therefore renamed to squaredVectorLength"