Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hama Wiki" for change notification.
The following page has been changed by udanax: http://wiki.apache.org/hama/InterfaceConsiderations ------------------------------------------------------------------------------ public Vector set(Vector v); /** + * x = alpha * v + * + * @param alpha + * @param v + * @return x = alpha * v + */ + public Vector set(double alpha, Vector v); + + /** * Adds the value to v(index) * * @param index @@ -108, +117 @@ /** The root of sum of squares */ Two, + /** The robust norm of the vector */ - /** - * As the 2 norm may overflow, an overflow resistant version is also - * available. Note that it may be slower. - */ TwoRobust, /** Largest entry in absolute value */ @@ -124, +130 @@ * @return iterator */ public Iterator<Writable> iterator(); + + /** + * Returns the {...@link org.apache.hadoop.io.MapWritable} + * + * @return the entries of vector + */ + public MapWritable getEntries(); + } }}} == Matrix == @@ -336, +350 @@ * Supported matrix-norms. */ enum Norm { + /** Maximum absolute row sum */ + One, + + /** The root of sum of the sum of squares */ + Frobenius, + /** Largest entry in absolute value */ - Infinity + Infinity, + + /** Largest entry in absolute value. */ + Maxvalue } /** @@ -375, +398 @@ * @throws Exception */ public void close() throws IOException; + } }}}
