Accord.Statistics.Distributions.Univariate.PowerLognormalDistribution.PowerLognormalDistribution C# (CSharp) Method

PowerLognormalDistribution() public method

Constructs a Power Lognormal distribution with the given power and shape parameters.
public PowerLognormalDistribution ( [ power, [ shape ) : System
power [ The distribution's power p.
shape [ The distribution's shape σ.
return System
        public PowerLognormalDistribution([Positive] double power, [Positive] double shape)
        {
            if (power <= 0)
                throw new ArgumentOutOfRangeException("power", "Power must be positive.");

            if (shape <= 0)
                throw new ArgumentOutOfRangeException("shape", "Shape must be positive.");

            initialize(power, shape);
        }