Documentation of 'cc.mallet.cluster.util.PairwiseMatrix' Java class
PairwiseMatrix
cc.mallet.cluster.util

Class PairwiseMatrix

  • All Implemented Interfaces:
    java.io.Serializable


    public class PairwiseMatrix
    extends java.lang.Object
    implements java.io.Serializable
    2-D upper-triangular matrix. Used to store pairwise affinity scores.
    Since:
    1.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      PairwiseMatrix(int size) 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double get(int i, int j) 
      int length(int i) 
      static void main(java.lang.String[] args) 
      void set(int i, int j, double v) 
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PairwiseMatrix

        public PairwiseMatrix(int size)
    • Method Detail

      • set

        public void set(int i,
                        int j,
                        double v)
      • get

        public double get(int i,
                          int j)
      • length

        public int length(int i)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • main

        public static void main(java.lang.String[] args)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.