Click or drag to resize

CreateMatrixSameAsT, TU(MatrixTU, Int32, Int32, Boolean) Method

Create a new matrix with the same kind of the provided 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, TU>(
	Matrix<TU> example,
	int rows,
	int columns,
	bool fullyMutable = false
)
where T : struct, new(), IEquatable<T>, IFormattable
where TU : struct, new(), IEquatable<TU>, IFormattable

Parameters

example  MatrixTU

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

rows  Int32

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

columns  Int32

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

fullyMutable  Boolean  (Optional)

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

Type Parameters

T

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

TU

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

Return Value

MatrixT

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

See Also