Documentation of 'javanpst.data.distributions.incompleteTable.Incomplete2KeyTable' Java class
Incomplete2KeyTable
javanpst.data.distributions.incompleteTable

Class Incomplete2KeyTable



  • public class Incomplete2KeyTable
    extends java.lang.Object
    A table representation with 2 keys where some elements are missing.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Incomplete2KeyTable(int dim1, int dim2)
      Builder
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void add(int dim1, int dim2, double value)
      Adds a new value
      void clear()
      Clears the table
      void erase(int dim1, int dim2)
      Erase a value
      double get(int dim1, int dim2)
      Gets a value
      • Methods inherited from class java.lang.Object

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

      • Incomplete2KeyTable

        public Incomplete2KeyTable(int dim1,
                                   int dim2)
        Builder
        Parameters:
        dim1 - length of first dimension
        dim2 - length of second dimension
    • Method Detail

      • clear

        public void clear()
        Clears the table
      • erase

        public void erase(int dim1,
                          int dim2)
        Erase a value
        Parameters:
        dim1 - first index
        dim2 - second index
      • add

        public void add(int dim1,
                        int dim2,
                        double value)
        Adds a new value
        Parameters:
        dim1 - first index
        dim2 - second index
        value - value to add
      • get

        public double get(int dim1,
                          int dim2)
        Gets a value
        Parameters:
        dim1 - first index
        dim2 - second index
        Returns:
        value stored

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.