LinAlgLstSqrSolveT(ComplexT, ComplexT, LstSqrAlgorithm) Method

Solve linear least-squares problem

Definition

Namespace: Metas.UncLib.Core
Assembly: Metas.UncLib.Core (in Metas.UncLib.Core.dll) Version: 2.8.9053.20192
C#
public static Complex<T>[] LstSqrSolve<T>(
	Complex<T>[][] a,
	Complex<T>[] y,
	LstSqrAlgorithm algorithm = LstSqrAlgorithm.QR
)
where T : new(), Object, IRealNumber<T>

Parameters

a  ComplexT
Input Matrix
y  ComplexT
Known Vector
algorithm  LstSqrAlgorithm  (Optional)
Algorithm

Type Parameters

T
Type

Return Value

ComplexT
Solution Vector

See Also