Java Random Rand()

Here you can find the source of Rand()

Description

Rand

License

Open Source License

Declaration

public static float Rand() 

Method Source Code

//package com.java2s;
// it under the terms of the GNU General Public License as published by

public class Main {
    public static float Rand() {
        final float ra;
        ra = (float) (Math.random() - 0.5);
        return (ra);
    }/*from w w  w .  j a  v  a 2s .  co m*/
}

Related

  1. isRandomList(List list)
  2. medianHelper(List list, int k, Random r)
  3. multSample(Random rng, double[] vals, double normsum)
  4. permute(Object[] arr, Random random)
  5. rand()
  6. randAngle()
  7. randFloat(float min, float max)
  8. random()
  9. random()