Click or drag to resize

VectorBuilderTSameAs(MatrixT, VectorT, Int32) Method

Create a new vector with a type that can represent and is closest to both provided samples.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public Vector<T> SameAs(
	Matrix<T> matrix,
	Vector<T> vector,
	int length
)

Parameters

matrix  MatrixT
The example matrix.
vector  VectorT
The example vector.
length  Int32
The length of the new vector.

Return Value

VectorT
The created vector.
See Also