CMatrix::GetAt

double GetAt( int nRow, int nCol ) const;

Return Value

The matrix element currently at (nRow,nCol).

Parameters

nRow

An integer index that is greater than or equal to 1 and less than or equal to the value returned by GetRowSize.

nCol

An integer index that is greater than or equal to 1 and less than or equal to the value returned by GetColumnSize.

Remarks

Returns the matrix element at the specified index.

Note   Passing a negative value or a value greater than the value returned will result in return 0;

CMatrix OverviewClass Members

See Also  CMatrix::SetAt