Package jline.io

Class Ret.pfqnOiNc

java.lang.Object
jline.io.Ret.pfqnOiNc
Enclosing class:
Ret

public static class Ret.pfqnOiNc extends Object
Return type for pfqn_ncoi and pfqn_pas_nc: normalizing constant of a closed order-independent (OI) / pass-and-swap + single-delay network, with its natural log.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
     
    double[]
    The WHOLE lattice of normalizing constants, Gtab[dot(n, strides)] = G(n) for every 0 <= n <= N, column-major with strides = [1, cumprod(N[0..R-2] + 1)].
    double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    pfqnOiNc(double G, double lG)
     
    pfqnOiNc(double G, double lG, double[] Gtab)
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • G

      public double G
    • lG

      public double lG
    • Gtab

      public double[] Gtab
      The WHOLE lattice of normalizing constants, Gtab[dot(n, strides)] = G(n) for every 0 <= n <= N, column-major with strides = [1, cumprod(N[0..R-2] + 1)]. The convolution produces this table anyway, so a caller needing G at more than one population must index this field, NOT re-call pfqn_ncoi per population -- the latter costs a needless factor prod_r (N_r + 1).
  • Constructor Details

    • pfqnOiNc

      public pfqnOiNc(double G, double lG)
    • pfqnOiNc

      public pfqnOiNc(double G, double lG, double[] Gtab)