Version

Random(Int32) Method

Returns a Vector with N numbers drawn from the uniform distrubition between 0 and 1.
Syntax
'Declaration
 
Public Overloads Shared Function Random( _
   ByVal N As Integer _
) As Vector
public static Vector Random( 
   int N
)

Parameters

N
The length of the Vector.

Return Value

A Vector with N random numbers.
Exceptions
ExceptionDescription
System.ArgumentException Occurs when N is less than zero.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also