Version

Bin(Vector) Method

Modifies the Matrix by replacing each element with a bin number.
Syntax
'Declaration
 
Public Overloads Function Bin( _
   ByVal edges As Vector _
) As Matrix
public Matrix Bin( 
   Vector edges
)

Parameters

edges
edges[i] and edges[i+1] are the edges of the ith bin.

Return Value

The modified Matrix.
Exceptions
ExceptionDescription
System.ArgumentExceptionOccurs when there are less than two bin edges.
System.ArgumentException Occurs when the bin edges are not in increasing order.
Remarks
If an element of the Matrix is not in any bin, it is replaced by Constant.NaN.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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