Class LinearInverseProblem
Object
LinearInverseProblem
- All Implemented Interfaces:
Computation<ArrayList<DRes<SFixed>>,ProtocolBuilderNumeric>
public class LinearInverseProblem extends Object implements Computation<ArrayList<DRes<SFixed>>,ProtocolBuilderNumeric>
Solve a linear inverse problem, eg. find an x such that Ax = b where A is an
mxn-matrix and b is an n-dimensional vector. If a system is overdetermined
(m ≥ n), the computation will find the x minimising ||Ax -
b||.
-
Constructor Summary
Constructors Constructor Description LinearInverseProblem(Matrix<DRes<SFixed>> a, ArrayList<DRes<SFixed>> b)
-
Method Summary
Modifier and Type Method Description DRes<ArrayList<DRes<SFixed>>>
buildComputation(ProtocolBuilderNumeric builder)
-
Constructor Details
-
Method Details
-
buildComputation
- Specified by:
buildComputation
in interfaceComputation<ArrayList<DRes<SFixed>>,ProtocolBuilderNumeric>
-