LinAlgLstSqrSolveT(T, T, 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 T[] LstSqrSolve<T>(
	T[][] a,
	T[] y,
	LstSqrAlgorithm algorithm = LstSqrAlgorithm.QR
)
where T : new(), Object, IRealNumber<T>

Parameters

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

Type Parameters

T
Real Type

Return Value

T
Solution Vector

See Also