edu.stanford.nlp.linalg
Interface GrowableMatrix

All Superinterfaces:
Cloneable, Matrix
All Known Implementing Classes:
ArrayListMatrix

public interface GrowableMatrix
extends Matrix

Interface for Growable Matrices. Useful in creating matrices from corpora, where you have no a priori knowledge of the number of rows, columns, nonzero entries.


Method Summary
 int addColumn(Array v)
          add column vector v to the of the matrix.
 
Methods inherited from interface edu.stanford.nlp.linalg.Matrix
cardinality, clone, columnIterator, columns, entryIterator, entrySet, get, getColumn, normalizeColumns, rows, set, setColumn, toDenseString, toMatlabSparseString, toSparseString, toString
 

Method Detail

addColumn

public int addColumn(Array v)
add column vector v to the of the matrix. returns column index i.



Stanford NLP Group