.NET Matrix Library
RowSum Method
See Also  Send Feedback



rowIndex
An integer specifying the row to be summed.
Returns the sum of the elements of the specified row.

Syntax

Visual Basic (Declaration) 
Public Function RowSum( _
   ByVal rowIndex As Integer _
) As Complex
Visual Basic (Usage)Copy Code
Dim instance As CMatrix
Dim rowIndex As Integer
Dim value As Complex
 
value = instance.RowSum(rowIndex)
C# 
public Complex RowSum( 
   int rowIndex
)
C++/CLI 
public:
Complex RowSum( 
   int rowIndex
) 

Parameters

rowIndex
An integer specifying the row to be summed.

Return Value

A complex equal to the sum of the specified row.

Exceptions

ExceptionDescription
IndexOutOfBoundsExceptioncolIndex exceeds matrix size.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

.NET Matrix Library