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



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

Syntax

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

Parameters

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

Exceptions

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