IResizable Matrix<T>.Insert Columns Method
Inserts zero or more columns into a matrix that the specified index.
Definition
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
void InsertColumns(
int index,
Matrix<T> data
)
Parameters
Remarks
index becomes the index of the first new column in the matrix. To insert a column after the last column, use a value of ColumnCount, or use the AppendColumns(Matrix<T>) method.
The number of columns is increased by one.
Exceptions
Argument | data is null. |
Argument | index is less than zero or greater than the number of columns. |
Dimension | The number of rows of data does not equal the number of rows of the matrix. |