Package edu.gmu.seor.prognos.unbbayesplugin.cps.Jama

Examples of edu.gmu.seor.prognos.unbbayesplugin.cps.Jama.Matrix


    CommonTree ct = CPSCompilerMain.This().CompileScript(strEquation);
    CPSCompilerMain.This().convertCommonTreeToEUnit(eq, ct, false, false);
   
    eq.print("");
   
    Matrix augMu = new Matrix(2,1);
    Matrix augSigma = new Matrix(2,2);
    double Q = 5;
   
    augMu.set(0, 0, 30);
    augMu.set(1, 0, 10);
   
    augSigma.set(0, 0, 1);
    augSigma.set(1, 1, 1);
   
    Map<String, Integer> mapName = new HashMap<String, Integer>();
    mapName.put("X", 0);
    mapName.put("Y", 1);
   
   
    DirectMessagePassing dmp = new DirectMessagePassing();   
    Matrix reM = dmp.mysut_wgn( eq, augMu, augSigma, Q,  mapName );
    reM.print(30, 15);
   
    //reM = [[6.558941052940292], [5.026291847598541]]
  }
View Full Code Here

TOP

Related Classes of edu.gmu.seor.prognos.unbbayesplugin.cps.Jama.Matrix

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.