.NET Matrix Library
SwapCols Method
See Also  Send comments on this topic


col1
An integer specifying the first column to swap.
col2
An integer specifying the second column to swap.
Swaps two matrix columns.

Syntax

Visual Basic (Declaration) 
Public Sub SwapCols( _
   ByVal col1 As Integer, _
   ByVal col2 As Integer _
) 
C# 
public void SwapCols( 
   int col1,
   int col2
)
C++/CLI 
public:
void SwapCols( 
   int col1,
   int col2
) 

Parameters

col1
An integer specifying the first column to swap.
col2
An integer specifying the second column to swap.

Exceptions

ExceptionDescription
IndexOutOfBoundsExceptionAny of col1, col2 exceeds matrix size.

Requirements

Platforms: Windows 7, Windows Vista, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows 2000

See Also

.NET Matrix Library Documentation