Equality-constrained Least Squares¶
\[\min_X \| A X - C \|_F \;\;\; \text{subject to } B X = D.\]
C++ API¶
-
void
LSE
(Matrix<F> &A, Matrix<F> &B, Matrix<F> &C, Matrix<F> &D, Matrix<F> &X, bool computeResidual = false)¶
-
void
LSE
(AbstractDistMatrix<F> &A, AbstractDistMatrix<F> &B, AbstractDistMatrix<F> &C, AbstractDistMatrix<F> &D, AbstractDistMatrix<F> &X, bool computeResidual = false)¶
C API¶
-
ElError
ElLSEDist_s
(ElDistMatrix_s A, ElDistMatrix_s B, ElDistMatrix_s C, ElDistMatrix_s D, ElDistMatrix_s X)¶
-
ElError
ElLSEDist_d
(ElDistMatrix_d A, ElDistMatrix_d B, ElDistMatrix_d C, ElDistMatrix_d D, ElDistMatrix_d X)¶