edu.stanford.nlp.linalg
Class EDoubleFactory2D

java.lang.Object
  |
  +--cern.colt.PersistentObject
        |
        +--cern.colt.matrix.DoubleFactory2D
              |
              +--edu.stanford.nlp.linalg.EDoubleFactory2D
All Implemented Interfaces:
Cloneable, Serializable

public class EDoubleFactory2D
extends cern.colt.matrix.DoubleFactory2D

Extends cern.colt.matrix.DoubleFactory2D to add some functions that are useful in NLP.

See Also:
Serialized Form

Field Summary
static EDoubleFactory2D edense
          A factory producing dense matrices.
static EDoubleFactory2D esparse
          A factory producing sparse hash matrices.
 
Fields inherited from class cern.colt.matrix.DoubleFactory2D
dense, rowCompressed, sparse
 
Fields inherited from class cern.colt.PersistentObject
serialVersionUID
 
Constructor Summary
EDoubleFactory2D()
           
 
Method Summary
 cern.colt.matrix.DoubleMatrix2D make(Matrix A)
          creates a DoubleMatrix2D from a generic Matrix
 
Methods inherited from class cern.colt.matrix.DoubleFactory2D
appendColumns, appendRows, ascending, checkRectangularShape, checkRectangularShape, compose, composeDiagonal, composeDiagonal, decompose, demo1, demo2, descending, diagonal, diagonal, identity, make, make, make, make, make1D, random, repeat, sample, sample
 
Methods inherited from class cern.colt.PersistentObject
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

edense

public static final EDoubleFactory2D edense
A factory producing dense matrices.


esparse

public static final EDoubleFactory2D esparse
A factory producing sparse hash matrices.

Constructor Detail

EDoubleFactory2D

public EDoubleFactory2D()
Method Detail

make

public cern.colt.matrix.DoubleMatrix2D make(Matrix A)
creates a DoubleMatrix2D from a generic Matrix



Stanford NLP Group