Package ca.nengo.math.impl

Examples of ca.nengo.math.impl.GaussianPDF.multiMap()


    float[] from1 = new float[]{-.5f};   
    float val1 = pdf.map(from1);
    float[] from2 = new float[]{-.3f};   
    float val2 = pdf.map(from2);
   
    float[] vals = pdf.multiMap(new float[][]{from1, from2});
    TestUtil.assertClose(val1, vals[0], .0001f);
    TestUtil.assertClose(val2, vals[1], .0001f);
  }
 
  public static void main(String[] args) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.