Examples of originalIndices()


Examples of flanagan.analysis.Stat.originalIndices()

        this.originalExcessKurtosis = this.sod.excessKurtosis();

        // Store original data sorted into ascending order
        Stat sorted = this.sod.sort();
        this.sortedOriginalData = sorted.array();
        this.originalIndices = sorted.originalIndices();

        // Standardize and store standardized data
        this.standardizedOriginalData = this.sod.standardize();

        // Calculate standardized original data statistics
View Full Code Here

Examples of flanagan.analysis.Stat.originalIndices()

        this.originalExcessKurtosis = this.sod.excessKurtosis();

        // Store original data sorted into ascending order
        Stat sorted = this.sod.sort();
        this.sortedOriginalData = sorted.array();
        this.originalIndices = sorted.originalIndices();

        // Standardize and store standardized data
        this.standardizedOriginalData = this.sod.standardize();

        // Calculate standardized original data statistics
View Full Code Here

Examples of flanagan.math.ArrayMaths.originalIndices()

        this.originalExcessKurtosis = this.sod.excessKurtosis();

        // Store original data sorted into ascending order
        ArrayMaths sorted = this.sod.sort();
        this.sortedOriginalData = sorted.array();
        this.originalIndices = sorted.originalIndices();

        // Standardize and store standardized data
        this.standardizedOriginalData = this.sod.standardize();

        // Calculate standardized original data statistics
View Full Code Here

Examples of flanagan.math.ArrayMaths.originalIndices()

        super.nYarrays = 1;

        // Sort analyte concns into ascending order
        ArrayMaths am = new ArrayMaths(this.analyteConcns);
        am = am.sort();
        int[] indices = am.originalIndices();
        double[] hold = new double[this.nAnalyteConcns];
        hold = Conv.copy(this.analyteConcns);
        for(int i=0; i<this.nAnalyteConcns; i++)this.analyteConcns[i] = hold[indices[i]];
        hold = Conv.copy(this.responses);
        for(int i=0; i<this.nAnalyteConcns; i++)this.responses[i] = hold[indices[i]];
View Full Code Here

Examples of flanagan.math.ArrayMaths.originalIndices()

            if(nPoints<2 || mPoints<2)throw new IllegalArgumentException("The data matrix must have a minimum size of 2 X 2");

            // order data
            ArrayMaths am = new ArrayMaths(x1);
            am = am.sort();
            this.x1indices = am.originalIndices();
            x1 = am.array();
            double[][] hold = new double[nPoints][mPoints];
            double[][] hold1 = null;
            double[][] hold2 = null;
            double[][] hold12 = null;
View Full Code Here

Examples of flanagan.math.ArrayMaths.originalIndices()

              }
            }

          am = new ArrayMaths(x2);
            am = am.sort();
            this.x2indices = am.originalIndices();
            double[] xh = am.array();
            for(int i=0; i<mPoints; i++)x2[i] = xh[mPoints-1-i];
            for(int i=0; i<mPoints; i++){
              for(int j=0; j<nPoints; j++){
                  hold[j][i] = y[j][this.x2indices[i]];
View Full Code Here

Examples of flanagan.math.ArrayMaths.originalIndices()

            if(nPoints<nl)throw new IllegalArgumentException("The data matrix must have a minimum size of " + nl + " X " + nl);

            // order data
            ArrayMaths am = new ArrayMaths(x);
            am = am.sort();
            this.xIndices = am.originalIndices();
            x = am.array();
            double[] hold = new double[nPoints];

            for(int i=0; i<nPoints; i++){
              hold[i] = y[this.xIndices[i]];
View Full Code Here

Examples of flanagan.math.ArrayMaths.originalIndices()

            this.calcWeights();

            // order data
            ArrayMaths am = new ArrayMaths(x1);
            am = am.sort();
            this.x1indices = am.originalIndices();
            x1 = am.array();
            double[][][] hold = new double[lPoints][mPoints][nPoints];
            double[][][] hold1 = null;
            double[][][] hold2 = null;
            double[][][] hold12 = null;
View Full Code Here

Examples of flanagan.math.ArrayMaths.originalIndices()

              }
            }

          am = new ArrayMaths(x2);
            am = am.sort();
            this.x2indices = am.originalIndices();
            x2 = am.array();

            for(int i=0; i<lPoints; i++){
              for(int j=0; j<mPoints; j++){
                  for(int k=0; k<nPoints; k++){
View Full Code Here

Examples of flanagan.math.ArrayMaths.originalIndices()

              }
          }

            am = new ArrayMaths(x3);
            am = am.sort();
            this.x3indices = am.originalIndices();
            x3 = am.array();

            for(int i=0; i<lPoints; i++){
              for(int j=0; j<mPoints; j++){
                  for(int k=0; k<nPoints; k++){
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.