Package stallone.api.mc

Examples of stallone.api.mc.IDynamicalExpectations


     * @param timepoints
     * @return
     */
    public IDoubleArray correlation(IDoubleArray M, IDoubleArray observable1, IDoubleArray observable2, IDoubleArray timepoints)
    {
        IDynamicalExpectations dexp = MarkovModel.create.createDynamicalExpectations(M);
        IDoubleArray res = Doubles.create.array(timepoints.size());
        for (int i=0; i<res.size(); i++)
            res.set(i, dexp.calculateCorrelation(observable1, observable2, timepoints.get(i)));
        return(res);
    }
View Full Code Here


     * @param timepoints
     * @return
     */
    public IDoubleArray perturbationExpectation(IDoubleArray M, IDoubleArray pi0, IDoubleArray observable, IDoubleArray timepoints)
    {
        IDynamicalExpectations dexp = MarkovModel.create.createDynamicalExpectations(M);
        IDoubleArray res = Doubles.create.array(timepoints.size());
        for (int i=0; i<res.size(); i++)
            res.set(i, dexp.calculatePerturbationExpectation(pi0, observable, timepoints.get(i)));
        return(res);
    }
View Full Code Here

TOP

Related Classes of stallone.api.mc.IDynamicalExpectations

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.