Namespace: | Sirenix.Utilities |
Assembly: | Sirenix.Utilities |
public static class MultiDimArrayUtilities
public static TElement[, ] DeleteColumn<TElement>(TElement[, ] array, int columnIndex)
TElement[,] | array | The array. |
System.Int32 | columnIndex | Index of the column. |
TElement[,] |
TElement | The type of the element. |
public static TElement[, ] DeleteRow<TElement>(TElement[, ] array, int rowIndex)
TElement[,] | array | The array. |
System.Int32 | rowIndex | Index of the row. |
TElement[,] |
TElement | The type of the element. |
public static TElement[, ] DuplicateColumn<TElement>(TElement[, ] array, int columnIndex)
TElement[,] | array | The array. |
System.Int32 | columnIndex | Index of the column. |
TElement[,] |
TElement | The type of the element. |
public static TElement[, ] DuplicateRow<TElement>(TElement[, ] array, int rowIndex)
TElement[,] | array | The array. |
System.Int32 | rowIndex | Index of the row. |
TElement[,] |
TElement | The type of the element. |
public static TElement[, ] InsertOneColumnLeft<TElement>(TElement[, ] array, int columnIndex)
TElement[,] | array | The array. |
System.Int32 | columnIndex | Index of the column. |
TElement[,] |
TElement | The type of the element. |
public static TElement[, ] InsertOneColumnRight<TElement>(TElement[, ] arr, int columnIndex)
TElement[,] | arr | The arr. |
System.Int32 | columnIndex | Index of the column. |
TElement[,] |
TElement | The type of the element. |
public static TElement[, ] InsertOneRowAbove<TElement>(TElement[, ] array, int rowIndex)
TElement[,] | array | The array. |
System.Int32 | rowIndex | The row index. |
TElement[,] |
TElement | The type of the element. |
public static TElement[, ] InsertOneRowBelow<TElement>(TElement[, ] array, int rowIndex)
TElement[,] | array | The array. |
System.Int32 | rowIndex | Index of the row. |
TElement[,] |
TElement | The type of the element. |
public static TElement[, ] MoveColumn<TElement>(TElement[, ] array, int fromColumn, int toColumn)
TElement[,] | array | The array. |
System.Int32 | fromColumn | From column. |
System.Int32 | toColumn | To column. |
TElement[,] |
TElement | The type of the element. |
public static TElement[, ] MoveRow<TElement>(TElement[, ] array, int fromRow, int toRow)
TElement[,] | array | The array. |
System.Int32 | fromRow | From row. |
System.Int32 | toRow | To row. |
TElement[,] |
TElement | The type of the element. |