org.ujmp.core.doublematrix.calculation.general.statistical
Class MutualInformation

java.lang.Object
  extended by org.ujmp.core.calculation.AbstractCalculation
      extended by org.ujmp.core.doublematrix.calculation.AbstractDoubleCalculation
          extended by org.ujmp.core.doublematrix.calculation.general.statistical.MutualInformation
All Implemented Interfaces:
Serializable, Calculation, DoubleCalculation

public class MutualInformation
extends AbstractDoubleCalculation

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ujmp.core.calculation.Calculation
Calculation.Ret
 
Field Summary
 
Fields inherited from interface org.ujmp.core.calculation.Calculation
ALL, COLUMN, LINK, NEW, NONE, ORIG, ROW
 
Constructor Summary
MutualInformation(Matrix matrix)
           
 
Method Summary
static DoubleMatrix2D calcNew(IntMatrix2D matrix)
           
static DoubleMatrix2D calcNew(Matrix matrix)
           
static double calculate(long var1, long var2, Matrix matrix)
           
 double getDouble(long... coordinates)
           
 long[] getSize()
           
 
Methods inherited from class org.ujmp.core.doublematrix.calculation.AbstractDoubleCalculation
calcLink, calcNew, calcOrig, getValueType, setDouble
 
Methods inherited from class org.ujmp.core.calculation.AbstractCalculation
allCoordinates, availableCoordinates, calc, calcMulti, contains, getAnnotation, getDimension, getSource, getSources, getStorageType, getValueCount, isSparse, setAnnotation, setDimension, setSources
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ujmp.core.calculation.Calculation
allCoordinates, availableCoordinates, calc, calcMulti, contains, getAnnotation, getDimension, getSource, getSources, getStorageType, getValueCount, isSparse, setAnnotation, setDimension, setSources
 

Constructor Detail

MutualInformation

public MutualInformation(Matrix matrix)
Method Detail

getDouble

public double getDouble(long... coordinates)
                 throws MatrixException
Throws:
MatrixException

getSize

public long[] getSize()
Specified by:
getSize in interface Calculation
Overrides:
getSize in class AbstractCalculation

calculate

public static final double calculate(long var1,
                                     long var2,
                                     Matrix matrix)

calcNew

public static DoubleMatrix2D calcNew(Matrix matrix)

calcNew

public static DoubleMatrix2D calcNew(IntMatrix2D matrix)


Copyright © 2010. All Rights Reserved.