Matrix<T>.Get Row(Int 32, Int 32, Int 32, Int 32) Method
Returns a row vector for this instance
starting at the specified row and column and of the
specified length.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A row Vector<T>.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public Vector<T> GetRow(
int row,
int startColumn,
int endColumn,
int columnStride
)
Parameters
- row Int32
- The zero-based index of the row.
- startColumn Int32
- The zero-based index of the column containing the first element in the row vector.
- endColumn Int32
- The column index of the last element in the row vector.
- columnStride Int32
- The increment for the index in the row Vector<T> corresponding to an increment of one in the new vector.
Return Value
Vector<T>A row Vector<T>.
Exceptions
Argument | row is less than zero or greater
than or equal to the number of rows
-or- startColumn is less than zero or greater than or equal to the number of columns. -or- startColumn or endColumn is less than zero or greater than or equal to the number of columns. |