This page describes the Hama Shell.
Commands
Load : load the matrix from the matrix file using user specified MapReduce class. for example: a = load "fileA" as Matrix using MyMapReduce.class; b = load "fileB" as Matrix using MyMapReduce.class
Add : the matrix addition. such as : c = a + b.
Multiply : the matrix multiplication. such as : d = a * b.
Save : save the matrix as a file. such as : write c as "fileC".
No Format |
---|
Load load the matrix from the matrix file using user specified !MapReduce class.
for example:
hama> a = load "fileA" as Matrix using !MyMapReduce.class;
hama> b = load "fileB" as Matrix using !MyMapReduce.class;
Add the matrix addition.
such as :
hama> c = a + b.
Multiply the matrix multiplication.
such as :
hama> d = a * b.
Save save the matrix as a file.
such as :
hama> save c as "fileC".
|
_ Still in work..._