| RandomHelperNextVector4D Method |
Namespace: DigitalRune.Mathematics.StatisticsAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static Vector4D NextVector4D(
this Random random,
double min,
double max
)
<ExtensionAttribute>
Public Shared Function NextVector4D (
random As Random,
min As Double,
max As Double
) As Vector4D
public:
[ExtensionAttribute]
static Vector4D NextVector4D(
Random^ random,
double min,
double max
)
[<ExtensionAttribute>]
static member NextVector4D :
random : Random *
min : float *
max : float -> Vector4D
Parameters
- random
- Type: SystemRandom
The random number generator. If this parameter is , the global random
number generator (see Random) is used.
- min
- Type: SystemDouble
The minimal allowed value for a vector element. - max
- Type: SystemDouble
The maximal allowed value for a vector element.
Return Value
Type:
Vector4DA random
Vector4D.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Random. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also