|  | RandGenTriangularSetParameters Method | 
            Sets the lower bound, upper bound, and mode for the distribution.
            
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
 Syntax
Syntaxpublic void SetParameters(
	double lb,
	double ub,
	double m
)
Public Sub SetParameters ( 
	lb As Double,
	ub As Double,
	m As Double
)
public:
void SetParameters(
	double lb, 
	double ub, 
	double m
)
member SetParameters : 
        lb : float * 
        ub : float * 
        m : float -> unit Parameters
- lb  Double
- The lower bound.
- ub  Double
- The upper bound.
- m  Double
- The mode.
 Exceptions
Exceptions| Exception | Condition | 
|---|
| InvalidArgumentException | Thrown if the lower bound, upper bound, and mode are not distinct, or if the mode is
            not strictly between the lower and upper bounds. | 
 See Also
See Also