Version

CumSum Method (Matrix)

Modifies a Matrix, y, by replacing each element y[i1,..,iN,..,iM] with y[i1,..,0,..,iM]+...+y[i1,..,iN,..,iM].
Syntax
'Declaration
 
Public Function CumSum( _
   ByVal N As Integer _
) As Matrix
public Matrix CumSum( 
   int N
)

Parameters

N
The calculation dimension.

Return Value

The modified Matrix.
Exceptions
ExceptionDescription
System.ArithmeticException Occurs when x is empty.
System.ArgumentExceptionOccurs when N is less than 1.
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