Class FitPolynomialSolverTall_F64

java.lang.Object
georegression.fitting.curves.FitPolynomialSolverTall_F64

public class FitPolynomialSolverTall_F64 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 Details

    • FitPolynomialSolverTall_F64

      public FitPolynomialSolverTall_F64(org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.DMatrixRMaj> solver)
    • FitPolynomialSolverTall_F64

      public FitPolynomialSolverTall_F64()
  • Method Details

    • process

      public boolean process(double[] data, int offset, int length, PolynomialCurve_F64 output)
      Fits the polynomial curve to the data.
      Parameters:
      data - interleaved input output
      offset - first element in data
      length - number of elements to read in data
      output - The fitted polynomial
      Returns:
      true if solver worked or false if it didn't