Click or drag to resize

MatrixTRow(Int32, Int32, Int32, VectorT) Method

Copies the requested row 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 void Row(
	int rowIndex,
	int columnIndex,
	int length,
	Vector<T> result
)

Parameters

rowIndex  Int32
The row to copy elements from.
columnIndex  Int32
The column 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 rowIndex is negative, or greater than or equal to the number of columns.
ArgumentOutOfRangeExceptionIf columnIndex is negative, or greater than or equal to the number of rows.
ArgumentOutOfRangeExceptionIf columnIndex + length is greater than or equal to the number of rows.
ArgumentOutOfRangeExceptionIf length is not positive.
ArgumentOutOfRangeExceptionIf result.Count < length.
See Also