InsertRowAfter
MathMatrix.InsertRowAfter 方法
在指定行之后插入新行,初始时新行中的所有元素均为 null。
public void InsertRowAfter(int rowIndex)
参数 | 类型 | 描述 |
---|---|---|
rowIndex | Int32 | 要插入新行之后的行索引 |
示例
示例:
[C#]
IMathMatrix matrix = new MathMatrix(2, 3);
matrix.InsertRowAfter(1);
在指定行之后插入新行,初始时新行中的所有元素均为 null。
public void InsertRowAfter(int rowIndex)
参数 | 类型 | 描述 |
---|---|---|
rowIndex | Int32 | 要插入新行之后的行索引 |
示例:
[C#]
IMathMatrix matrix = new MathMatrix(2, 3);
matrix.InsertRowAfter(1);