Package georegression.fitting.curves
Class FitPolynomialSolverTall_F32
java.lang.Object
georegression.fitting.curves.FitPolynomialSolverTall_F32
@Generated("georegression.fitting.curves.FitPolynomialSolverTall_F64")
public class FitPolynomialSolverTall_F32
extends Object
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_F32
(org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.FMatrixRMaj> solver) -
Method Summary
Modifier and TypeMethodDescriptionboolean
process
(float[] data, int offset, int length, PolynomialCurve_F32 output) Fits the polynomial curve to the data.
-
Constructor Details
-
FitPolynomialSolverTall_F32
public FitPolynomialSolverTall_F32(org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.FMatrixRMaj> solver) -
FitPolynomialSolverTall_F32
public FitPolynomialSolverTall_F32()
-
-
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
-