idl.tmt.representation.matrix
Class MatrixNormalizer

java.lang.Object
  |
  +--idl.tmt.representation.matrix.MatrixNormalizer

public class MatrixNormalizer
extends java.lang.Object

Provides basic functionality for centering and normalizing the columns of a colt matrix.

Author:
miles

Field Summary
private  int cols
           
private  int rows
           
private  DoubleMatrix2D x
           
 
Constructor Summary
MatrixNormalizer(DoubleMatrix2D theMatrix)
           
 
Method Summary
 DoubleMatrix2D center()
           
 DoubleMatrix2D normalize()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

x

private DoubleMatrix2D x

rows

private int rows

cols

private int cols
Constructor Detail

MatrixNormalizer

public MatrixNormalizer(DoubleMatrix2D theMatrix)
Method Detail

center

public DoubleMatrix2D center()

normalize

public DoubleMatrix2D normalize()