javanpst.data.distributions.incompleteTable
Class Incomplete3KeyTable
- java.lang.Object
-
- javanpst.data.distributions.incompleteTable.Incomplete3KeyTable
-
public class Incomplete3KeyTable extends java.lang.ObjectA table representation with 3 keys where some elements are missing.
-
-
Constructor Summary
Constructors Constructor and Description Incomplete3KeyTable(int dim1, int dim2, int dim3)Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidadd(int dim1, int dim2, int dim3, double value)Adds a new valuevoidclear()Clears the tablevoiderase(int dim1, int dim2, int dim3)Erase a valuedoubleget(int dim1, int dim2, int dim3)Gets a value
-
-
-
Constructor Detail
-
Incomplete3KeyTable
public Incomplete3KeyTable(int dim1, int dim2, int dim3)Builder- Parameters:
dim1- length of first dimensiondim2- length of second dimensiondim3- length of third dimension
-
-
Method Detail
-
clear
public void clear()
Clears the table
-
erase
public void erase(int dim1, int dim2, int dim3)Erase a value- Parameters:
dim1- first indexdim2- second indexdim3- third index
-
add
public void add(int dim1, int dim2, int dim3, double value)Adds a new value- Parameters:
dim1- first indexdim2- second indexdim3- third indexvalue- value to add
-
get
public double get(int dim1, int dim2, int dim3)Gets a value- Parameters:
dim1- first indexdim2- second indexdim3- third index- Returns:
- value stored
-
-
DMelt 3.0 © DataMelt by jWork.ORG