Gets and sets the probability of success. Must be greater than zero and less than or equal to one.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public double P { get; set; }
Visual Basic (Declaration)
Public Property P As Double
Visual C++
public:
property double P {
	double get ();
	void set (double value);
}

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentExceptionThrown if p is less than or equal to zero or p is greater than one.

See Also