Click or drag to resize

JaggedArrayMathToMatrix Method

This wraps a jagged double array to the IMatrixT interface. The data is not copied!

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static JaggedArrayMatrix ToMatrix(
	double[][] x,
	int rows,
	int cols
)

Parameters

x  Double
The jagged array. Each double[] vector is a row of the matrix.
rows  Int32
The number of (used) rows of the array.
cols  Int32
The number of (used) columns of the array.

Return Value

JaggedArrayMatrix
A jagged array matrix wrapping the provided array with a IMatrix interface.
See Also