cc.mallet.grmm.util
Class Matrices

java.lang.Object
  extended by cc.mallet.grmm.util.Matrices

public class Matrices
extends java.lang.Object

Static Matrix constructors. $Id: Matrices.java,v 1.1 2007/10/22 21:37:58 mccallum Exp $


Constructor Summary
Matrices()
           
 
Method Summary
static Matrix constant(int[] sizes, double v)
           
static Matrix diag(int[] sizes, double v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Matrices

public Matrices()
Method Detail

diag

public static Matrix diag(int[] sizes,
                          double v)

constant

public static Matrix constant(int[] sizes,
                              double v)