Merge jv
authorJan Vrany <jan.vrany@fit.cvut.cz>
Mon, 15 Feb 2016 09:26:34 +0000
branchjv
changeset 19228 f2f3abaadcb4
parent 19227 5e949760a4e8 (current diff)
parent 19220 b2b3ad682045 (diff)
child 19229 c20beb908660
Merge
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
+    <resource: #obsolete>
     "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
+    <resource: #obsolete>
     "Return the squared length of the receiver interpreted as vector.
      Obsolete: the name 'squaredLength' may lead to confusion.
                therefore renamed to squaredVectorLength"