LinAlgLstSqrSolveT(ComplexT, ComplexT, LstSqrAlgorithm) Method
Solve linear least-squares problem
Namespace: Metas.UncLib.CoreAssembly: Metas.UncLib.Core (in Metas.UncLib.Core.dll) Version: 2.8.9053.20192
public static Complex<T>[] LstSqrSolve<T>(
Complex<T>[][] a,
Complex<T>[] y,
LstSqrAlgorithm algorithm = LstSqrAlgorithm.QR
)
where T : new(), Object, IRealNumber<T>
Public Shared Function LstSqrSolve(Of T As {New, Object, IRealNumber(Of T)}) (
a As Complex(Of T)()(),
y As Complex(Of T)(),
Optional algorithm As LstSqrAlgorithm = LstSqrAlgorithm.QR
) As Complex(Of T)()
public:
generic<typename T>
where T : gcnew(), Object, IRealNumber<T>
static array<Complex<T>>^ LstSqrSolve(
array<array<Complex<T>>^>^ a,
array<Complex<T>>^ y,
LstSqrAlgorithm algorithm = LstSqrAlgorithm::QR
)
static member LstSqrSolve :
a : Complex<'T>[][] *
y : Complex<'T>[] *
?algorithm : LstSqrAlgorithm
(* Defaults:
let _algorithm = defaultArg algorithm LstSqrAlgorithm.QR
*)
-> Complex<'T>[] when 'T : new() and Object and IRealNumber<'T>
- a ComplexT
- Input Matrix
- y ComplexT
- Known Vector
- algorithm LstSqrAlgorithm (Optional)
- Algorithm
- T
- Type
ComplexTSolution Vector