Package org.drip.measure.continuous
Class MetaRdDistribution
java.lang.Object
org.drip.measure.continuous.RdDistribution
org.drip.measure.continuous.MetaRdDistribution
- Direct Known Subclasses:
R1MultivariateNormal
public abstract class MetaRdDistribution extends RdDistribution
MetaRdDistribution contains the Generalized R1 Multivariate Distributions. It provides
the following Functionality:
- Retrieve the Multivariate Meta Instance
- Retrieve the Left Edge Bounding Multivariate
- Retrieve the Right Edge Bounding Multivariate
- Convert the Multivariate Density into an Rd To R1 Function Instance
- Compute the Cumulative under the Distribution to the given Variate Values
- Compute the Incremental under the Distribution between the 2 Multivariate Instances
- Compute the Expectation of the Specified Rd To R1 Function Instance
- Compute the Mean of the Distribution
- Compute the Variance of the Distribution
- Construct the Moment Generating Function
| Module | Computational Core Module |
| Library | Numerical Analysis Library |
| Project | Rd Continuous/Discrete Probability Measures |
| Package | R1 and Rd Continuous Random Measure |
- Author:
- Lakshmi Krishnamurthy
-
Method Summary
Modifier and Type Method Description doublecumulative(double[] variateArray)Compute the Cumulative under the Distribution to the given Variate ValuesRdToR1densityRdToR1()Convert the Multivariate Density into an Rd To R1 Function Instancedoubleexpectation(RdToR1 rdToR1)Compute the Expectation of the Specified Rd To R1 Function Instancedoubleincremental(double[] leftVariateArray, double[] rightVariateArray)Compute the Incremental under the Distribution between the 2 Multivariate Instancesdouble[]leftEdge()Retrieve the Left Edge Bounding Multivariatedouble[]mean()Compute the Mean of the DistributionMetaRdmeta()Retrieve the Multivariate Meta InstanceRdToR1momentGeneratingFunction()Construct the Moment Generating Functiondouble[]rightEdge()Retrieve the Right Edge Bounding Multivariatedouble[]variance()Compute the Variance of the DistributionMethods inherited from class org.drip.measure.continuous.RdDistribution
densityMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
meta
Retrieve the Multivariate Meta Instance- Returns:
- The Multivariate Meta Instance
-
leftEdge
public double[] leftEdge()Retrieve the Left Edge Bounding Multivariate- Returns:
- The Left Edge Bounding Multivariate
-
rightEdge
public double[] rightEdge()Retrieve the Right Edge Bounding Multivariate- Returns:
- The Right Edge Bounding Multivariate
-
densityRdToR1
Convert the Multivariate Density into an Rd To R1 Function Instance- Returns:
- The Multivariate Density converted into an Rd To R1 Function Instance
-
cumulative
public double cumulative(double[] variateArray) throws java.lang.ExceptionCompute the Cumulative under the Distribution to the given Variate Values- Specified by:
cumulativein classRdDistribution- Parameters:
variateArray- Array of Variate Values to which the Cumulative is to be computed- Returns:
- The Cumulative
- Throws:
java.lang.Exception- Thrown if the Cumulative cannot be computed
-
incremental
public double incremental(double[] leftVariateArray, double[] rightVariateArray) throws java.lang.ExceptionCompute the Incremental under the Distribution between the 2 Multivariate Instances- Specified by:
incrementalin classRdDistribution- Parameters:
leftVariateArray- Left Multivariate Instance to which the Cumulative is to be computedrightVariateArray- Right Multivariate Instance to which the Cumulative is to be computed- Returns:
- The Incremental
- Throws:
java.lang.Exception- Thrown if the Incremental cannot be computed
-
expectation
Compute the Expectation of the Specified Rd To R1 Function Instance- Parameters:
rdToR1- The Rd To R1 Function Instance- Returns:
- The Expectation of the Specified Rd To R1 Function Instance
- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
mean
public double[] mean()Compute the Mean of the Distribution- Returns:
- The Mean of the Distribution
-
variance
public double[] variance()Compute the Variance of the Distribution- Returns:
- The Variance of the Distribution
-
momentGeneratingFunction
Construct the Moment Generating Function- Returns:
- The Moment Generating Function
-