Click or drag to resize

VectorBuilderTSameAsTU(MatrixTU, 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>(
	Matrix<TU> example,
	int length
)
where TU : struct, new(), IEquatable<TU>, IFormattable

Parameters

example  MatrixTU
The example matrix.
length  Int32
The length of the new vector.

Type Parameters

TU
The element type of the example matrix.

Return Value

VectorT
The created vector.
See Also