Click or drag to resize

MatrixTColumn(Int32, Int32, Int32, VectorT) Method

Copies the requested column elements into the given vector.

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

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.
result  VectorT
The Vector to copy the column into.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf the result Vector is .
ArgumentOutOfRangeExceptionIf columnIndex is negative, or greater than or equal to the number of columns.
ArgumentOutOfRangeExceptionIf rowIndex is negative, or greater than or equal to the number of rows.
ArgumentOutOfRangeExceptionIf rowIndex + length is greater than or equal to the number of rows.
ArgumentOutOfRangeExceptionIf length is not positive.
ArgumentOutOfRangeExceptionIf result.Count < length.
See Also