Version

Bin(Vector,Int32) Method

Returns a new Vector y, where y[i] = n if x[i] is in the nth bin.
Syntax
'Declaration
 
Public Overloads Shared Function Bin( _
   ByVal x As Vector, _
   ByVal N As Integer _
) As Vector
public static Vector Bin( 
   Vector x,
   int N
)

Parameters

x
A Vector.
N
The number of evenly-spaced bins.

Return Value

A Vector of bin numbers.
Exceptions
ExceptionDescription
System.ArgumentException Occurs when N is less than one.
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