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


col1
An integer specifying the first column.
col2
An integer specifying the first column.
Returns the dot product between two columns of the Matrix object.

Syntax

Visual Basic (Declaration) 
Public Function ColsDotProduct( _
   ByVal col1 As Integer, _
   ByVal col2 As Integer _
) As Double
C# 
public double ColsDotProduct( 
   int col1,
   int col2
)
C++/CLI 
public:
double ColsDotProduct( 
   int col1,
   int col2
) 

Parameters

col1
An integer specifying the first column.
col2
An integer specifying the first column.

Return Value

A double that equals to the dot product between two columns of the matrix.

Exceptions

ExceptionDescription
IndexOutOfBoundsExceptionAny of col1, col2 parameters exceeds matrix size.

Remarks

If the same value is used for the col1, col2 parameters then the value returned is the sum of squares of the specified column's elements.

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