Matrix<T>.Get Row Method
Definition
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Get | Returns a row vector for this instance that points at the specified row. |
Get | Returns a row vector for this instance that points at the specified row. |
Get | Returns a row vector for this instance starting at the specified row and column and of the specified length. |
Get | Returns a row vector for this instance over the specified range. |
Get | Returns a row vector for this instance over the specified range. |
Get | Returns a row vector for this instance starting at the specified row and column and of the specified length. |
Get | Returns a row vector for this instance starting at the specified row and column and of the specified length. |
Get | Gets the row with the specified row key. |
GetRow<R>(R)
public Vector<T> GetRow<R>(
R key
)
Parameters
- key R
- The key of the row to be returned.
Type Parameters
- R
Return Value
Vector<T>The row with key key.
Exceptions
Invalid | The matrix does not have a row index. |
Invalid | The element type of the row index is not R. |
Key | key was not found in the row index. |
GetRow(Int32)
public Vector<T> GetRow(
int row
)
Parameters
- row Int32
- The zero-based index of the row.
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. |
GetRow(Int32, Intent)
public Vector<T> GetRow(
int row,
Intent intent
)
Parameters
- row Int32
- The zero-based index of the row.
- intent Intent
- An Intent value that specifies the intended use of the row 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. |
GetRow(Int32, Range)
public Vector<T> GetRow(
int row,
Range columnRange
)
Parameters
- row Int32
- The zero-based index of the row.
- columnRange Range
- The zero-based index of the column containing the first element in the row 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 - The Range specified by columnRange is outside the bounds of the matrix. |
GetRow(Int32, Int32, Int32)
public Vector<T> GetRow(
int row,
int startColumn,
int endColumn
)
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.
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. |
GetRow(Int32, Int32, Int32, Intent)
public Vector<T> GetRow(
int row,
int startColumn,
int endColumn,
Intent intent
)
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.
- intent Intent
- An Intent value that specifies the intended use of the row 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. |
GetRow(Int32, Int32, Int32, Int32)
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. |
GetRow(Int32, Int32, Int32, Int32, Intent)
public Vector<T> GetRow(
int row,
int startColumn,
int endColumn,
int columnStride,
Intent intent
)
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.
- intent Intent
- An Intent value that specifies the intended use of the row 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. |