Package georegression.fitting.curves
Class FitPolynomialSolverTall_F64
java.lang.Object
georegression.fitting.curves.FitPolynomialSolverTall_F64
Fits a polynomial using a
LinearSolverDense
and the equation A*X=B.
Different solvers can be selected to trade efficiency and robustness.-
Constructor Summary
ConstructorDescriptionFitPolynomialSolverTall_F64
(org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.DMatrixRMaj> solver) -
Method Summary
Modifier and TypeMethodDescriptionboolean
process
(double[] data, int offset, int length, PolynomialCurve_F64 output) Fits the polynomial curve to the data.
-
Constructor Details
-
FitPolynomialSolverTall_F64
public FitPolynomialSolverTall_F64(org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.DMatrixRMaj> solver) -
FitPolynomialSolverTall_F64
public FitPolynomialSolverTall_F64()
-
-
Method Details
-
process
Fits the polynomial curve to the data.- Parameters:
data
- interleaved input outputoffset
- first element in datalength
- number of elements to read in dataoutput
- The fitted polynomial- Returns:
- true if solver worked or false if it didn't
-