void SetAt( int nRow,int nCol, double data);
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.
data
The new element value to be stored at the specified position.
Remarks
Sets the matrix element at the specified row and column. SetAt will cause the array to grow automatically.
You must ensure that your nRow and nColumn value represents a valid position in the vector. If it is negtive number, no data is set into the vector.
CMatrix Overview | Class Members
See Also Cmatrix::GetAt