*/
public void testMap() {
Polynomial f = new Polynomial(new float[]{-1,0,2,1});
TestUtil.assertClose(2, f.map(new float[]{1}), .00001f);
TestUtil.assertClose(15, f.map(new float[]{2}), .00001f);
TestUtil.assertClose(-1, f.map(new float[]{-2}), .00001f);
TestUtil.assertClose(-1, f.map(new float[]{0}), .00001f);
}
/*
* Test method for 'ca.nengo.math.impl.Polynomial.multiMap(float[][])'