Package ca.nengo.math.impl

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


   */
  public void testMultiMap() {
    ArrayList<Serializable> l = new ArrayList<Serializable>();
    l.add(Integer.valueOf(0));
    PostfixFunction f = new PostfixFunction(l, "", 1);
    float[] values = f.multiMap(new float[][]{new float[]{1f}, new float[]{2f}});
    TestUtil.assertClose(1f, values[0], .0001f);
    TestUtil.assertClose(2f, values[1], .0001f);
  }
 
  public void testClone() throws CloneNotSupportedException {
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.