Package org.netlib.util

Examples of org.netlib.util.doubleW


   
    i = 0; j = nextp[0]// set properties of the root node
    root = node;
    t[tp[i]].mo = t[tp[j]].mo = t[root].mo = root;
   
    doubleW bi = new doubleW(t[tp[i]].modist);
    doubleW bj = new doubleW(t[tp[j]].modist);
    drootbranchfn(d,i,j,t[tp[i]].nel,t[tp[j]].nel, bi,bj);
      //t[tp[i]].modist,t[tp[j]].modist);
    t[tp[i]].modist = bi.val;
    t[tp[j]].modist = bj.val;
   
View Full Code Here


    Chixy chixy = new Chixy();
    int j;
    double amx,amn,scale,bmn,bmx,d1,d2,r2;
    double[] ang = new double[7];
    double[] ch = new double[7];
    doubleW varx = new doubleW(0);
    doubleW vary = new doubleW(0);
    doubleW dum1 = new doubleW(0);
   
    Moment.avevar(x,dum1,varx);
    Moment.avevar(y,dum1,vary);
    scale=sqrt(varx.val/vary.val);
    for (j=0;j<ndat;j++) {
View Full Code Here

  }
 
  public static double mcmcstep(final int m, final State s, final Plog plog, final Proposal propose) {
    State sprop = new State();
    double alph,ran;
    doubleW qratio = new doubleW(0);
    int accept=0;
    plog.get(s);
    for (int i=0;i<m;i++) {
      propose.get(s,sprop,qratio);
      alph = min(1.,qratio.val*exp(plog.get(sprop)-s.plog));
 
View Full Code Here

       
        // info==0 => initialize resid with random numbers
        final intW info = new intW(0);

        // stopping criterion
        final doubleW tol = new doubleW(this.tolerance);

        // ISHIFT = 1: exact shifts with respect to the current Hessenberg
        // matrix H
        final int ishfts = 1;
View Full Code Here

    intW nev = new intW(eigenvalues);

    int ncv = Math.min(2 * eigenvalues, n);
    String bmat = "I";
    String which = "LM";
    doubleW tol = new doubleW(tolerance);
    intW info = new intW(0);
    int[] iparam = new int[11];
    iparam[0] = 1;
    iparam[2] = 300;
    iparam[6] = 1;
View Full Code Here

TOP

Related Classes of org.netlib.util.doubleW

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.