Gets and sets the probability of success on each trial.

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..::.InvalidArgumentException Thrown if set to a value less than 0, or greater than 1.

See Also