hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r683879 - /incubator/hama/trunk/src/java/org/apache/hama/VectorInterface.java
Date Fri, 08 Aug 2008 06:53:30 GMT
Author: edwardyoon
Date: Thu Aug  7 23:53:29 2008
New Revision: 683879

URL: http://svn.apache.org/viewvc?rev=683879&view=rev
Log: (empty)

Modified:
    incubator/hama/trunk/src/java/org/apache/hama/VectorInterface.java

Modified: incubator/hama/trunk/src/java/org/apache/hama/VectorInterface.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/VectorInterface.java?rev=683879&r1=683878&r2=683879&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/VectorInterface.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/VectorInterface.java Thu Aug  7 23:53:29
2008
@@ -6,11 +6,15 @@
 public interface VectorInterface {
 
   /**
+   * Size of the vector
+   * 
    * @return size of the vector
    */
   public int size();
 
   /**
+   * v(index)
+   * 
    * @param index
    * @return v(index)
    */
@@ -25,6 +29,8 @@
   public void set(int index, double value);
 
   /**
+   * x = v
+   * 
    * @param v
    * @return x = v
    */
@@ -39,6 +45,8 @@
   public void add(int index, double value);
 
   /**
+   * x = alpha*v + x
+   * 
    * @param alpha
    * @param v
    * @return x = alpha*v + x
@@ -46,12 +54,16 @@
   public boolean add(double alpha, Vector v);
 
   /**
+   * x = v + x
+   * 
    * @param v
    * @return x = v + x
    */
   public Vector add(Vector v);
 
   /**
+   * x dot v
+   * 
    * @param v
    * @return x dot v
    */



Mime
View raw message