Click or drag to resize

CreateMatrixSameAsT(MatrixT, MatrixT) Method

Create a new matrix with a type that can represent and is closest to both provided samples and the dimensions of example.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static Matrix<T> SameAs<T>(
	Matrix<T> example,
	Matrix<T> otherExample
)
where T : struct, new(), IEquatable<T>, IFormattable

Parameters

example  MatrixT

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

otherExample  MatrixT

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

Type Parameters

T

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

Return Value

MatrixT

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

See Also