# ContinuousDistribution struct

Namespace: [Grasshopper2.Types.Random](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.types.random.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
[IoId("00000000-B4A7-4E81-8C71-899D55D0E8AD")]
public struct ContinuousDistribution : IStorable
```

Represents a variety of continuous statistical distributions.

## Constructors

- [ContinuousDistribution](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/ctor.md)

## Fields

- [MinimumSuggestedInterval](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/minimumsuggestedinterval.md): (static) Gets the suggested minimum length of a distribution interval.

## Properties

- [Deviation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/deviation.md): Gets the standard deviation of this distribution. Not all types of distribution have a meaningful deviation, in which case this property returns NaN.
- [Entropy](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/entropy.md): Gets the entropy of this distribution. Not all types of distribution have an entropy value, in which case this property returns NaN.
- [Maximum](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/maximum.md): Gets the largest parameter for which this distribution is defined.
- [Mean](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/mean.md): Gets the mean of this distribution. Not all types of distribution have a mean, in which case this property returns NaN.
- [Median](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/median.md): Gets the median of this distribution. Not all types of distribution have a median, in which case this property returns NaN.
- [Minimum](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/minimum.md): Gets the smallest parameter for which this distribution is defined.
- [Mode](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/mode.md): Gets the mode of this distribution. Not all types of distribution have a mode, in which case this property returns NaN.
- [Skewness](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/skewness.md): Gets the statistical skewness of this distribution. Not all types of distribution have a skewness, in which case this property returns NaN.
- [Type](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/type.md): Gets the type of this distribution.
- [UnitInterval](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/unitinterval.md): (static) Gets the default unit interval.
- [Variance](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/variance.md): Gets the statistical variance of this distribution. Not all types of distribution have a variance, in which case this property returns NaN.

## Methods

- [AdjustInterval](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/adjustinterval.md): (static) Assuming a non-decreasing progression, ensure that x0 and x1 are at least MinimumSuggestedInterval apart.
- [CreateBeta](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createbeta.md): (static) Create a Beta distribution.
- [CreateCauchy](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createcauchy.md): (static) Create a Cauchy distribution.
- [CreateChi](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createchi.md): (static) Create a Chi distribution.
- [CreateChiSquare](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createchisquare.md): (static) Create a Chi² distribution.
- [CreateDirichlet2DSampling](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createdirichlet2dsampling.md): (2 overloads, static) Compute a two-dimensional Dirichlet distribution.
- [CreateDirichlet3DSampling](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createdirichlet3dsampling.md): (2 overloads, static) Compute a three-dimensional Dirichlet distribution.
- [CreateErlang](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createerlang.md): (static) Create an Erlang distribution.
- [CreateFoldedNormal](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createfoldednormal.md): (static) Create a folded-normal distribution.
- [CreateGamma](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/creategamma.md): (static) Create a Gamma distribution.
- [CreateGompertz](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/creategompertz.md): (static) Create a Gompertz distribution.
- [CreateIrwinHall](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createirwinhall.md): (static) Create an Irwin-Hall distribution.
- [CreateLaplace](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createlaplace.md): (static) Create a Laplace distribution.
- [CreateLogNormal](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createlognormal.md): (static) Create a Log-Normal distribution.
- [CreateNormal](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createnormal.md): (static) Create a normal distribution.
- [CreatePareto](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createpareto.md): (static) Create a Pareto distribution.
- [CreateRayleigh](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createrayleigh.md): (static) Create a Rayleigh distribution.
- [CreateSampling](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createsampling.md): Gets a collection of random samples within this distribution. This method should only be called when the distribution is continuous.
- [CreateSamplingConsistent](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createsamplingconsistent.md): Create a random sampling of this distribution which is more consistent but slower than the [ContinuousDistribution.CreateSampling(Random, int)](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createsampling.md) method.
- [CreateStudentT](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createstudentt.md): (static) Create a Student-T distribution.
- [CreateTriangular](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createtriangular.md): (static) Create a triangular distribution.
- [CreateUniform](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createuniform.md): (static) Create a uniform distribution.
- [CreateUPower](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createupower.md): (static) Create a U-Power distribution.
- [CreateWeibull](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createweibull.md): (static) Create a Weibull distribution.
- [CreateWignerSemiCircle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/createwignersemicircle.md): (static) Create a semi-elliptical distribution.
- [CumulativeAt](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/cumulativeat.md): Gets the cumulative distribution at x.
- [GetCdfPreview](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/getcdfpreview.md): (2 overloads) Create an approximation of the CDF curve for this distribution using the relevant interval.
- [GetPdfPreview](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/getpdfpreview.md): (2 overloads) Create an approximation of the PDF curve for this distribution using the relevant interval.
- [GetRelevantInterval](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/getrelevantinterval.md): Gets the relevant x-interval in which the distribution has the most detailed progression. This method is used to decide on which interval any distribution previews ought to be drawn.
- [ProbabilityAt](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/probabilityat.md): Gets the probability density of the distribution at x.
- [Store](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/store.md)
- [ToString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.random.continuousdistribution/tostring.md)
