Click or drag to resize

MatrixTColumn(Int32, Int32, Int32) Method

Copies the requested column elements into a new Vector.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public Vector<T> Column(
	int columnIndex,
	int rowIndex,
	int length
)

Parameters

columnIndex  Int32
The column to copy elements from.
rowIndex  Int32
The row to start copying from.
length  Int32
The number of elements to copy.

Return Value

VectorT
A Vector containing the requested elements.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionIf:
  • columnIndex is negative, or greater than or equal to the number of columns.
  • rowIndex is negative, or greater than or equal to the number of rows.
  • (rowIndex + length) >= Rows.
ArgumentOutOfRangeExceptionIf length is not positive.
See Also