Click or drag to resize

VectorBuilderTSameAsTU(VectorTU, Int32) Method

Create a new vector with the same kind of the provided example.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public Vector<T> SameAs<TU>(
	Vector<TU> example,
	int length
)
where TU : struct, new(), IEquatable<TU>, IFormattable

Parameters

example  VectorTU
The example vector.
length  Int32
The length of the new vector.

Type Parameters

TU
The element type of the example vector.

Return Value

VectorT
The created vector.
See Also