Click or drag to resize

MatrixMathNIPALS_HO Method

Calculates eigenvectors (loads) and the corresponding eigenvalues (scores) by means of the NIPALS algorithm

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void NIPALS_HO(
	IMatrix<double> X,
	int numFactors,
	double accuracy,
	IRightExtensibleMatrix<double> factors,
	IBottomExtensibleMatrix<double> loads,
	IBottomExtensibleMatrix<double> residualVarianceVector
)

Parameters

X  IMatrixDouble
The matrix to which the decomposition is applied to. A row of the matrix is one spectrum (or a single measurement giving multiple resulting values). The different rows of the matrix represent measurements under different conditions.
numFactors  Int32
The number of factors to be calculated. If 0 is provided, factors are calculated until the provided accuracy is reached.
accuracy  Double
The relative residual variance that should be reached.
factors  IRightExtensibleMatrixDouble
Resulting matrix of factors. You have to provide a extensible matrix of dimension(0,0) as the vertical score vectors are appended to the matrix.
loads  IBottomExtensibleMatrixDouble
Resulting matrix consiting of horizontal load vectors (eigenspectra). You have to provide a extensible matrix of dimension(0,0) here.
residualVarianceVector  IBottomExtensibleMatrixDouble
Residual variance. Element[0] is the original variance, element[1] the residual variance after the first factor subtracted and so on. You can provide null if you don't need this result.
See Also