ProductName  

Returns the dot product between two columns of the current matrix.

Syntax

MatrixObject.ColsDotProduct(Col1, Col2)

Parameters

Col1
Long integer specifying the first column.
Col2
Long integer specifying the second column.

Remarks

If the same value is used for Col1, Col2 parameters then the value returned is the sum of squares of the specified column elements.

Error Codes

Error 1320 will be returned, if any of Col1, Col2 exceed matrix size.

See Also

RowsDotProduct Method

Applies To: Matrix | CMatrix