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

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

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

Application Programming Interface