Click or drag to resize

VectorMathToROSubVectorT Method

Creates a subvector of the read-only vector.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntax
C#
public static IReadOnlyList<T> ToROSubVector<T>(
	this IReadOnlyList<T> source,
	int offset,
	int count
)

Parameters

source  IReadOnlyListT
The source vector.
offset  Int32
The offset of the first element of the subvector.
count  Int32
The number of elements of the subvector.

Type Parameters

T
The type of element of the vector.

Return Value

IReadOnlyListT
The subvector.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IReadOnlyListT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also