public BChecker(Arma p) { qmax = p.q + p.Q * p.pd; tmp = new double[qmax + 1]; tmp2 = new double[qmax + 1]; roots = new Complex[qmax]; }
public static bool MA_Included(Arma p, int i) { return(p.qmask == null || p.qmask[i] == '1'); }
public static ARMA_PRIV_FLAGS Arma_AVGLL(Arma p) { return(p.pflags & ARMA_PRIV_FLAGS.AVGLL); }
public static ARMA_PRIV_FLAGS Arma_YDiff(Arma p) { return(p.pflags & ARMA_PRIV_FLAGS.YDIFF); }
public static ARMA_PRIV_FLAGS Arma_Missvals(Arma p) { return(p.pflags & ARMA_PRIV_FLAGS.NAS); }
public static ARMA_PRIV_FLAGS Arma_Levels(Arma p) { return(p.pflags & ARMA_PRIV_FLAGS.LEV); }
public static ARMA_PRIV_FLAGS Arma_Using_Vech(Arma p) { return(p.pflags & ARMA_PRIV_FLAGS.VECH); }
public static ARMA_PRIV_FLAGS Arma_Na_Ok(Arma p) { return(p.pflags & ARMA_PRIV_FLAGS.NAOK); }
public static ARMA_PRIV_FLAGS Arma_Is_Arima(Arma p) { return(p.pflags & ARMA_PRIV_FLAGS.DSPEC); }
public static ARMA_PRIV_FLAGS Arma_Is_LBFGS(Arma p) { return(p.pflags & ARMA_PRIV_FLAGS.LBFGS); }
public static ARMA_PRIV_FLAGS Arma_Has_Seasonal(Arma p) { return(p.pflags & ARMA_PRIV_FLAGS.SEAS); }
public static void SetArma_Least_Squares(Arma p) { p.flags |= ARMA_FLAGS.LS; }
public static ARMA_FLAGS Arma_Least_Squares(Arma p) { return(p.flags & ARMA_FLAGS.LS); }
public static ARMA_FLAGS Arma_Exact_ML(Arma p) { return(p.flags & ARMA_FLAGS.EXACT); }
public static ARMA_FLAGS Arma_By_X12A(Arma p) { return(p.flags & ARMA_FLAGS.X12A); }