DeleteRow

MathMatrix.DeleteRow method

Deletes the specified row

public void DeleteRow(int rowIndex)
ParameterTypeDescription
rowIndexInt32The zero-based index of the row to delete.

Exceptions

exceptioncondition
InvalidOperationExceptionWhen you try to delete the last single row in the matrix
ArgumentOutOfRangeExceptionIf rowIndex less than zero or greater or equal to the RowCount

Examples

Example:

[C#]
IMathMatrix matrix = new MathMatrix(2, 3);
matrix.DeleteRow(0);

See Also