Version

Difference(Matrix,Int32) Method

Returns the difference of successive values of the Matrixx along the Nth dimension.
Syntax
'Declaration
 
Public Overloads Shared Function Difference( _
   ByVal x As Matrix, _
   ByVal N As Integer _
) As Matrix
public static Matrix Difference( 
   Matrix x,
   int N
)

Parameters

x
A Matrix.
N
The calculation dimension.

Return Value

A Matrix with the difference of successive values of x along the Nth dimension.
Exceptions
ExceptionDescription
System.ArgumentExceptionOccurs when N is less than 1.
System.ArgumentException Occurs when the Nth dimension has less than two elements.
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