Package cern.jet.random

Examples of cern.jet.random.Beta


    ////                         protected methods                 ////

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


        for ( int i = 0; i < Csum.length; i++ )
        {
            //double alpha = Csum[i] - C.get(i, i) + 1;
            double alpha = Csum[i] + dof[i] - C.get(i,i) - 1;
            double beta = C.get(i, i) + 1;
            rowDistribution[i] = new Beta( alpha, beta, mt );
        }

        // check counts.
        if (!checkCounts())
        {
View Full Code Here

        for (int i = 0; i < Csum.length; i++)
        {
            //double alpha = Csum[i] - C.get(i, i) + 1;
            double alpha = Csum[i] + dof[i] - C.get(i, i) - 1;
            double beta = C.get(i, i) + 1;
            rowDistribution[i] = new Beta(alpha, beta, new MersenneTwister());
        }

        // check counts.
        if (!checkCounts())
        {
View Full Code Here

TOP

Related Classes of cern.jet.random.Beta

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.