Author: apalumbo
Date: Tue Apr 21 20:10:03 2015
New Revision: 1675192
URL: http://svn.apache.org/r1675192
Log:
comment iterator section
Modified:
mahout/site/mahout_cms/trunk/content/users/environment/in-core-reference.mdtext
Modified:
mahout/site/mahout_cms/trunk/content/users/environment/in-core-reference.mdtext
URL:
http://svn.apache.org/viewvc/mahout/site/mahout_cms/trunk/content/users/environment/in-core-reference.mdtext?rev=1675192&r1=1675191&r2=1675192&view=diff
==============================================================================
---
mahout/site/mahout_cms/trunk/content/users/environment/in-core-reference.mdtext
(original)
+++
mahout/site/mahout_cms/trunk/content/users/environment/in-core-reference.mdtext
Tue Apr 21 20:10:03 2015
@@ -279,14 +279,15 @@ Iterating over rows in a Matrix:
... do something with row
}
-Iterating over non-zero and all elements of a vector:
+<!--Iterating over non-zero and all elements of a vector:
*Note that Vector.Element also has some implicit syntatic sugar, e.g to add
5.0 to every non-zero element of a matrix, the following code may be used:*
for (row <- m; el <- row.nonZero) el = 5.0 + el
... or
for (row <- m; el <- row.nonZero) el := 5.0 + el
-Similarly **row.all** produces an iterator over all elements in a row (Vector).
+Similarly **row.all** produces an iterator over all elements in a row
(Vector).
+-->
For more information including information on Mahout-Samsara's out-of-core
Linear algebra bindings see: [Mahout Scala Bindings and Mahout Spark Bindings
for Linear Algebra
Subroutines](http://mahout.apache.org/users/sparkbindings/ScalaSparkBindings.pdf)