float[] from1 = new float[]{.5f};
float val1 = f.map(from1);
float[] from2 = new float[]{.6f};
float val2 = f.map(from2);
float[] vals = f.multiMap(new float[][]{from1, from2});
assertClose(vals[0], val1);
assertClose(vals[1], val2);
}
private void assertClose(float a, float b) {