Documentation of 'ca.pfv.spmf.patterns.cluster.DoubleArray' Java class
DoubleArray
ca.pfv.spmf.patterns.cluster

Class DoubleArray



  • public class DoubleArray
    extends java.lang.Object
    This class represents a vector of double values, used mainly by clustering algorithms such as KMeans.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      double[] data 
    • Constructor Summary

      Constructors 
      Constructor and Description
      DoubleArray(double[] data)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      DoubleArray clone()
      Return a copy of this double array
      java.lang.String toString()
      Get a string representation of this double array.
      • Methods inherited from class java.lang.Object

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

      • data

        public double[] data
    • Constructor Detail

      • DoubleArray

        public DoubleArray(double[] data)
        Constructor
        Parameters:
        data - an array of double values
    • Method Detail

      • toString

        public java.lang.String toString()
        Get a string representation of this double array.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string
      • clone

        public DoubleArray clone()
        Return a copy of this double array
        Overrides:
        clone in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.