Constructs a LogisticDistribution instance with the given location and scale.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public LogisticDistribution( double location, double scale ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ location As Double, _ scale As Double _ ) |
| Visual C++ |
|---|
public: LogisticDistribution( double location, double scale ) |
Parameters
- location
- Type: System..::.Double
The location of the density.
- scale
- Type: System..::.Double
The scale of the density. Must be positive.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if the scale is less than or equal to zero. |