This error may occur in the following situations:
- ColIndex parameter that you have used with the Item
property exceeds matrix size.
- ColIndex parameter that you have used with the ColSum,
ColVector methods exceeds matrix
- Any of Col1 or Col2 parameters that you have used with the
SwapCols methods exceed matrix size.
Matrices are zero-based, meaning that their first row or column is 0. The
last column of a matrix with n columns is column n-1.
To solve this problem
Use parameter values within matrix size.
Item Property | ColsDotProduct
Method | ColVector Method | ColSum
Method| SwapCols, SwapRows Method