RealLinAlgDLstSqrSolve Method

Solve linear least-squares problem

Definition

Namespace: Metas.UncLib.Core.Ndims
Assembly: Metas.UncLib.Core (in Metas.UncLib.Core.dll) Version: 2.8.9053.20192
C#
public static RealNArray<D> LstSqrSolve(
	RealNArray<D> a,
	RealNArray<D> y,
	LstSqrAlgorithm algorithm = LstSqrAlgorithm.QR
)

Parameters

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

Return Value

RealNArrayD
Solution Vector

See Also