.NET Matrix Library
SetRow(Int32,Vector) Method
See Also  Send Feedback



row
An integer specifying the row.
x
A Vector whose content will be used to set the elements of the specified row.
Sets all elements of a matrix row using the contents on a vector.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub SetRow( _
   ByVal row As Integer, _
   ByVal x As Vector _
) 
Visual Basic (Usage)Copy Code
Dim instance As Matrix
Dim row As Integer
Dim x As Vector
 
instance.SetRow(row, x)
C# 
public void SetRow( 
   int row,
   Vector x
)
C++/CLI 
public:
void SetRow( 
   int row,
   Vector^ x
) 

Parameters

row
An integer specifying the row.
x
A Vector whose content will be used to set the elements of the specified row.

Exceptions

ExceptionDescription
IndexOutOfBoundsExceptionrow 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