Package cern.jet.random

Examples of cern.jet.random.Poisson


    ////                         protected methods                 ////

    /** Method that is called after _randomNumberGenerator is changed.
     */
    protected void _createdNewRandomNumberGenerator() {
        _generator = new Poisson(1.0, _randomNumberGenerator);
    }
View Full Code Here


        halfReadLength = readLength / 2;
        errorRate = QualityUtils.qualToErrorProb((byte)phredErrorRate);
        readQuals = new byte[readLength];
        Arrays.fill(readQuals, (byte)phredErrorRate);
        if ( samplingMode == ReadSamplingMode.POISSON )
           poissonRandom = new Poisson(readDepth, new MersenneTwister((int)RANDOM_SEED));
    }
View Full Code Here

TOP

Related Classes of cern.jet.random.Poisson

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.