Package flanagan.math

Examples of flanagan.math.Matrix.pivot()


          int ncol = this.numberOfColumns - i;
            Matrix mat1 = matv0.getSubMatrix(i, i, this.numberOfRows-1, numberOfColumns-1);
            double[][] subv = mat1.getArrayCopy();

          // Get pivot indices
          int[] max = mat1.pivot();
          int pivotI = max[0]+i;
          int pivotJ = max[1]+i;

          // Swap rows
          double[] holdv1 = this.reducedValues[i];
View Full Code Here


          int ncol = this.numberOfColumns - i;
            Matrix mat1 = matv0.getSubMatrix(i, i, this.numberOfRows-1, numberOfColumns-1);
            double[][] subv = mat1.getArrayCopy();

          // Get pivot indices
          int[] max = mat1.pivot();
          int pivotI = max[0]+i;
          int pivotJ = max[1]+i;

          // Swap rows
          double[] holdv1 = this.reducedValues[i];
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.