Click or drag to resize

Matrix<T>.Column(Int32, Int32, Int32, Vector<T>) Method

Copies the requested column elements into the given vector.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3261.0 (4.8.3261.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  Vector<T>
The Vector to copy the column into.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf the result Vector is null.
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