Java Array Divide divideElements4arg(final int j, final int numRows, final double[] u, final double u_0)

Here you can find the source of divideElements4arg(final int j, final int numRows, final double[] u, final double u_0)

Description

divide Elementsarg

License

Open Source License

Declaration

public static void divideElements4arg(final int j, final int numRows,
            final double[] u, final double u_0) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static void divideElements4arg(final int j, final int numRows,
            final double[] u, final double u_0) {
        //        double div_u = 1.0/u_0;
        ///* w w  w. j  a va 2s . com*/
        //        if( Double.isInfinite(div_u)) {
        for (int i = j; i < numRows; i++) {
            u[i] /= u_0;
        }
        //        } else {
        //            for( int i = j; i < getNumRows; i++ ) {
        //                u[i] *= div_u;
        //            }
        //        }
    }
}

Related

  1. divideBytearrays(byte[] ret, int headerLength, byte[] bArr)
  2. divideByteArrayToChunks(byte data[], int chunkSize)
  3. divideElements(double[] v1, double[] v2, double[] rs)
  4. divideElements(final int j, final int numRows, final double[] u, final int startU, final double realA, final double imagA)
  5. divideElements(final int j, final int numRows, final float[] u, final float u_0)
  6. divideElements_Bcol(int j, int numRows, int numCols, double[] u, double b[], int startB, double u_0)
  7. divideElementwise(int[] a, int[] b)
  8. divideImage(float[][] base, float[][] divisor)
  9. divideInPlace(double denominator, double[] target)