Returns a column Vector for this instance
starting at the specified column and row and of the
specified length.
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Overrides Function GetColumn ( _ column As Integer, _ startRow As Integer, _ endRow As Integer, _ rowStride As Integer _ ) As Vector |
| C# |
|---|
public override Vector GetColumn ( int column, int startRow, int endRow, int rowStride ) |
| C++ |
|---|
public: virtual Vector^ GetColumn ( int column, int startRow, int endRow, int rowStride ) override |
Parameters
- column (System.Int32)
- The zero-based index of the column.
- startRow (System.Int32)
- The zero-based index of the row containing the first element in the column vector.
- endRow (System.Int32)
- The row index of the last element in the column vector.
- rowStride (System.Int32)
- The increment for the index in the column Vector corresponding to an increment of one in the new vector.
Return Value
A Vector.
Remarks
If the result is completely contained in the non-zero portion of the matrix,
the return value is a GeneralVector. If the result is completely
contained in the zero part, the return value is a ConstantVector.
Otherwise, the return value is a BandVector.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | column is less than zero or greater
than or equal to the number of columns
-or- startRow is less than zero or greater than or equal to the number of rows. -or- endRow or endRow is less than zero or greater than or equal to the number of rows. |