Class AlgebraicSolver

java.lang.Object
jdistlib.inference.solver.AlgebraicSolver

public final class AlgebraicSolver extends Object
Finite-difference Newton solver for small and medium dense algebraic systems.
  • Method Details

    • solve

      public static AlgebraicSolver.Result solve(AlgebraicSystem system, double[] initial, double[] parameters, double[] data, AlgebraicSolver.Options options)
      Solves from initial; the caller's arrays are never modified.
    • solveWithSensitivities

      public static SensitivityResult solveWithSensitivities(AlgebraicSystem system, double[] initial, double[] parameters, double[] data, AlgebraicSolver.Options options)
      Solves the system and differentiates the root with respect to parameters using the implicit-function identity dx/dp = -Jx^-1 Jp.
    • infinityNorm

      public static double infinityNorm(double[] values)