Click or drag to resize

JaggedArrayMathToTransposedROMatrix Method

This wraps a jagged double array to the IROMatrixT interface so that the array appears to be transposed. 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 IROMatrix<double> ToTransposedROMatrix(
	double[][] x,
	int rows,
	int cols
)

Parameters

x  Double
The jagged array. Each double[] vector is a column of the matrix (because of transpose).
rows  Int32
The number of (used) rows of the resulting matrix.
cols  Int32
The number of (used) columns of the resulting matrix = length of the first level of the jagged array.

Return Value

IROMatrixDouble
A IROMatrix wrapping the provided array so that it seems to be transposed.
See Also