Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: converted to 1.6 markup

Matrix Domain Specific Language for Hama

A matrix domain specific language (DSL) support for Hama will be greatly simplifying learning curve for scientific users to use Hama. Instead of using Java, Groovy can provide a MATLAB-like syntax and idiom. This page discusses the design of the DSL for Hama.

Code Example

No Format
import static org.apache.hama.groovy.Matrix.*

def a = random(10,10)
def b = eyes(10)
def c = a * b

Application Programming Interface

TODO