Package com.nr.model

Examples of com.nr.model.Fitsvd


      for (j=0;j<NP;j++) y[i] += amp[j]*f[j];
      y[i] += ndev.dev();
      sig[i]=stdev;
    }

    Fitsvd myfit=new Fitsvd(x,y,sig,this,TOL);
    myfit.fit();

    for (j=0;j<NP;j++) {
//      System.out.printf(myfit.a[j] << " %f\n", amp[j] << " " ;
//      System.out.printf(sqrt(myfit.covar[j][j]));

View Full Code Here


      for (j=0;j<NP;j++) y[i] += amp[j]*f[j];
      y[i] += ndev.dev();
      sig[i]=stdev;
    }

    Fitsvd myfit = new Fitsvd(x,y,sig,this,TOL);
    myfit.fit();

    for (j=0;j<NP;j++) {
//      System.out.printf(myfit.a[j] << " %f\n", amp[j] << " " ;
//      System.out.printf(sqrt(myfit.covar[j][j]));

View Full Code Here

      for (j=0;j<ma;j++) y[i] += amp[j]*f[j];
      y[i] += ndev.dev();
      sig[i]=stdev;
    }

    Fitsvd mysvdfit = new Fitsvd(x,y,sig,this,TOL);
    mysvdfit.fit();

    for (j=0;j<ma;j++) {
      localflag = abs(mysvdfit.a[j]-amp[j]) > 2.0*sqrt(mysvdfit.covar[j][j]);
      globalflag = globalflag || localflag;
      if (localflag) {
View Full Code Here

TOP

Related Classes of com.nr.model.Fitsvd

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.