Package jline.api.mam

Class Amap2_fit_gamma

java.lang.Object
jline.api.mam.Amap2_fit_gamma

public final class Amap2_fit_gamma extends Object
Top-level functions for AMAP2 gamma fitting.
  • Method Details

    • amap2_fit_gamma

      public static Pair<MatrixCell,List<MatrixCell>> amap2_fit_gamma(double M1, double M2, double M3, double GAMMA)
      Finds an AMAP(2) fitting the given characteristics.
    • amap2_fitall_gamma

      public static List<MatrixCell> amap2_fitall_gamma(double M1, double M2, double M3, double GAMMA)
      Finds all AMAP(2) solutions for given moments and correlation.
    • amap2_assemble

      public static MatrixCell amap2_assemble(double l1, double l2, double p1, double p2, int form)
    • amap2_adjust_gamma

      public static Amap2_fit_gamma.Triple amap2_adjust_gamma(double M1, double M2, double M3, double GAMMA)
    • amap2_adjust_gamma

      public static Amap2_fit_gamma.Triple amap2_adjust_gamma(double M1, double M2, double M3, double GAMMA, double[] weights, int method, int constraints)
      Nearest feasible (M2, M3, GAMMA) for an AMAP(2).
      Parameters:
      weights - weights of M2, M3, GAMMA (default {10, 1, 10})
      method - 1: search on (M2, M3, GAMMA); 2: keep M2, search on (M3, GAMMA); 3: prioritize M2, M3, GAMMA in closed form; 4: prioritize M2, GAMMA, M3
      constraints - methods 1 and 2: 2 uses the theoretical AMAP(2) region, 1 additionally requires amap2_fitall_gamma to return an AMAP(2) at the point