Click or drag to resize

CreateVectorSameAsT(VectorT, 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.3179.0 (4.8.3179.0)
Syntax
C#
public static Vector<T> SameAs<T>(
	Vector<T> example,
	Vector<T> otherExample,
	int length
)
where T : struct, new(), IEquatable<T>, IFormattable

Parameters

example  VectorT

[Missing <param name="example"/> documentation for "M:Altaxo.Calc.LinearAlgebra.CreateVector.SameAs``1(Altaxo.Calc.LinearAlgebra.Vector{``0},Altaxo.Calc.LinearAlgebra.Vector{``0},System.Int32)"]

otherExample  VectorT

[Missing <param name="otherExample"/> documentation for "M:Altaxo.Calc.LinearAlgebra.CreateVector.SameAs``1(Altaxo.Calc.LinearAlgebra.Vector{``0},Altaxo.Calc.LinearAlgebra.Vector{``0},System.Int32)"]

length  Int32

[Missing <param name="length"/> documentation for "M:Altaxo.Calc.LinearAlgebra.CreateVector.SameAs``1(Altaxo.Calc.LinearAlgebra.Vector{``0},Altaxo.Calc.LinearAlgebra.Vector{``0},System.Int32)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Altaxo.Calc.LinearAlgebra.CreateVector.SameAs``1(Altaxo.Calc.LinearAlgebra.Vector{``0},Altaxo.Calc.LinearAlgebra.Vector{``0},System.Int32)"]

Return Value

VectorT

[Missing <returns> documentation for "M:Altaxo.Calc.LinearAlgebra.CreateVector.SameAs``1(Altaxo.Calc.LinearAlgebra.Vector{``0},Altaxo.Calc.LinearAlgebra.Vector{``0},System.Int32)"]

See Also