javanpst.data.distributions.incompleteTable
Class Incomplete2KeyTable
- java.lang.Object
-
- javanpst.data.distributions.incompleteTable.Incomplete2KeyTable
-
public class Incomplete2KeyTable extends java.lang.ObjectA 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 voidadd(int dim1, int dim2, double value)Adds a new valuevoidclear()Clears the tablevoiderase(int dim1, int dim2)Erase a valuedoubleget(int dim1, int dim2)Gets a value
-
-
-
Constructor Detail
-
Incomplete2KeyTable
public Incomplete2KeyTable(int dim1, int dim2)Builder- Parameters:
dim1- length of first dimensiondim2- 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 indexdim2- second index
-
add
public void add(int dim1, int dim2, double value)Adds a new value- Parameters:
dim1- first indexdim2- second indexvalue- value to add
-
get
public double get(int dim1, int dim2)Gets a value- Parameters:
dim1- first indexdim2- second index- Returns:
- value stored
-
-
DMelt 3.0 © DataMelt by jWork.ORG