## Uses of Interface
jphase.DiscPhaseVar

- Packages that use DiscPhaseVar
  Package | Description
  --- | ---
  jphase | This package provides capabilities for modeling Phase type distributions.
  jphase.fit | Provides capabilities for fitting Phase type distribution parameters from data.

- - ### Uses of DiscPhaseVar in jphase

    Classes in jphase that implement DiscPhaseVar
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractDiscPhaseVar` Abstract class that defines the behaviour of the Discrete Phase-Type distributions
    `class` | `DenseDiscPhaseVar` This class allows the creation and manipulation of Discrete Phase-type distributions represented by dense matrices.
    `class` | `SparseDiscPhaseVar` This class allows the creation and manipulation of Discrete Phase-type distributions represented by sparse (Flexible Compressed Row) matrices.

    Methods in jphase that return DiscPhaseVar
    Modifier and Type | Method and Description
    --- | ---
    `DiscPhaseVar` | SparseDiscPhaseVar.`copy()`
    `DiscPhaseVar` | DenseDiscPhaseVar.`copy()`
    `DiscPhaseVar` | DiscPhaseVar.`copy()` Creates a deep copy of the original Phase-Type Variable
    `DiscPhaseVar` | AbstractDiscPhaseVar.`max(DiscPhaseVar v2)`
    `DiscPhaseVar` | DiscPhaseVar.`max(DiscPhaseVar B)` Returns the maximum between the variable B and the original: res = max(A,B)
    `DiscPhaseVar` | AbstractDiscPhaseVar.`max(DiscPhaseVar v2, DiscPhaseVar res)`
    `DiscPhaseVar` | DiscPhaseVar.`max(DiscPhaseVar B, DiscPhaseVar res)` Returns the maximum between the variable B and the original: res = max(A,B)
    `DiscPhaseVar` | AbstractDiscPhaseVar.`min(DiscPhaseVar v2)`
    `DiscPhaseVar` | DiscPhaseVar.`min(DiscPhaseVar B)` Returns the minimum between the variable B and the original: res = min(A,B)
    `DiscPhaseVar` | AbstractDiscPhaseVar.`min(DiscPhaseVar v2, DiscPhaseVar res)`
    `DiscPhaseVar` | DiscPhaseVar.`min(DiscPhaseVar B, DiscPhaseVar res)` Returns the minimum between the variable B and the original: res = min(A,B)
    `DiscPhaseVar` | AbstractDiscPhaseVar.`mix(double p, DiscPhaseVar v2)`
    `DiscPhaseVar` | DiscPhaseVar.`mix(double p, DiscPhaseVar B)` Computes the distribution of the mix: res = A*p + B*(1-p)
    `DiscPhaseVar` | AbstractDiscPhaseVar.`mix(double p, DiscPhaseVar v2, DiscPhaseVar res)`
    `DiscPhaseVar` | DiscPhaseVar.`mix(double p, DiscPhaseVar B, DiscPhaseVar res)` Computes the distribution of the mix: res = A*p + B*(1-p)
    `DiscPhaseVar` | SparseDiscPhaseVar.`newVar(int n)`
    `DiscPhaseVar` | DenseDiscPhaseVar.`newVar(int n)`
    `DiscPhaseVar` | DiscPhaseVar.`newVar(int n)` Creates a new variable of the same class of the original Discrete Phase-Type Variable
    `DiscPhaseVar` | AbstractDiscPhaseVar.`sum(DiscPhaseVar v2)`
    `DiscPhaseVar` | DiscPhaseVar.`sum(DiscPhaseVar B)` Computes the sum of variables: res = A +B
    `DiscPhaseVar` | AbstractDiscPhaseVar.`sum(DiscPhaseVar v2, DiscPhaseVar res)`
    `DiscPhaseVar` | DiscPhaseVar.`sum(DiscPhaseVar B, DiscPhaseVar res)` Computes the sum of variables: res = A +B
    `DiscPhaseVar` | AbstractDiscPhaseVar.`sumGeom(double p)`
    `DiscPhaseVar` | DiscPhaseVar.`sumGeom(double p)` Returns the sum of a geometric number of independent copies of this variable
    `DiscPhaseVar` | AbstractDiscPhaseVar.`sumPH(DiscPhaseVar v2)`
    `DiscPhaseVar` | DiscPhaseVar.`sumPH(DiscPhaseVar B)` Returns the sum of a Phase-type-distributed number of Discrete Phase-type distributions
    `DiscPhaseVar` | AbstractDiscPhaseVar.`sumPH(DiscPhaseVar B, DiscPhaseVar res)`
    `DiscPhaseVar` | DiscPhaseVar.`sumPH(DiscPhaseVar B, DiscPhaseVar res)` Returns the sum of a Phase-type-distributed number of Discrete Phase-type distributions

    Methods in jphase with parameters of type DiscPhaseVar
    Modifier and Type | Method and Description
    --- | ---
    `DiscPhaseVar` | AbstractDiscPhaseVar.`max(DiscPhaseVar v2)`
    `DiscPhaseVar` | DiscPhaseVar.`max(DiscPhaseVar B)` Returns the maximum between the variable B and the original: res = max(A,B)
    `DiscPhaseVar` | AbstractDiscPhaseVar.`max(DiscPhaseVar v2, DiscPhaseVar res)`
    `DiscPhaseVar` | DiscPhaseVar.`max(DiscPhaseVar B, DiscPhaseVar res)` Returns the maximum between the variable B and the original: res = max(A,B)
    `DiscPhaseVar` | AbstractDiscPhaseVar.`min(DiscPhaseVar v2)`
    `DiscPhaseVar` | DiscPhaseVar.`min(DiscPhaseVar B)` Returns the minimum between the variable B and the original: res = min(A,B)
    `DiscPhaseVar` | AbstractDiscPhaseVar.`min(DiscPhaseVar v2, DiscPhaseVar res)`
    `DiscPhaseVar` | DiscPhaseVar.`min(DiscPhaseVar B, DiscPhaseVar res)` Returns the minimum between the variable B and the original: res = min(A,B)
    `DiscPhaseVar` | AbstractDiscPhaseVar.`mix(double p, DiscPhaseVar v2)`
    `DiscPhaseVar` | DiscPhaseVar.`mix(double p, DiscPhaseVar B)` Computes the distribution of the mix: res = A*p + B*(1-p)
    `DiscPhaseVar` | AbstractDiscPhaseVar.`mix(double p, DiscPhaseVar v2, DiscPhaseVar res)`
    `DiscPhaseVar` | DiscPhaseVar.`mix(double p, DiscPhaseVar B, DiscPhaseVar res)` Computes the distribution of the mix: res = A*p + B*(1-p)
    `DiscPhaseVar` | AbstractDiscPhaseVar.`sum(DiscPhaseVar v2)`
    `DiscPhaseVar` | DiscPhaseVar.`sum(DiscPhaseVar B)` Computes the sum of variables: res = A +B
    `DiscPhaseVar` | AbstractDiscPhaseVar.`sum(DiscPhaseVar v2, DiscPhaseVar res)`
    `DiscPhaseVar` | DiscPhaseVar.`sum(DiscPhaseVar B, DiscPhaseVar res)` Computes the sum of variables: res = A +B
    `ContPhaseVar` | ContPhaseVar.`sumPH(DiscPhaseVar B)` Returns the sum of a Phase-type-distributed number of Continuous Phase-type distributions
    `DiscPhaseVar` | AbstractDiscPhaseVar.`sumPH(DiscPhaseVar v2)`
    `DiscPhaseVar` | DiscPhaseVar.`sumPH(DiscPhaseVar B)` Returns the sum of a Phase-type-distributed number of Discrete Phase-type distributions
    `ContPhaseVar` | AbstractContPhaseVar.`sumPH(DiscPhaseVar v2)`
    `ContPhaseVar` | ContPhaseVar.`sumPH(DiscPhaseVar B, ContPhaseVar res)` Returns the sum of a Phase-type-distributed number of Continuous Phase-type distributions
    `ContPhaseVar` | AbstractContPhaseVar.`sumPH(DiscPhaseVar B, ContPhaseVar res)`
    `DiscPhaseVar` | AbstractDiscPhaseVar.`sumPH(DiscPhaseVar B, DiscPhaseVar res)`
    `DiscPhaseVar` | DiscPhaseVar.`sumPH(DiscPhaseVar B, DiscPhaseVar res)` Returns the sum of a Phase-type-distributed number of Discrete Phase-type distributions

  - ### Uses of DiscPhaseVar in jphase.fit

    Methods in jphase.fit that return DiscPhaseVar
    Modifier and Type | Method and Description
    --- | ---
    `abstract DiscPhaseVar` | DiscPhaseFitter.`fit()`
    `DiscPhaseVar` | MomentsADPH2Fit.`fit()`