1 package JSci.maths; 2 3 /** 4 * This interface defines a map or function. 5 * It is used to pass user-defined functions to some of 6 * the other maths classes. 7 * @see NumericalMath 8 * @see ComplexMapping 9 * @see MappingND 10 * @version 1.1 11 * @author Mark Hale 12 */ 13 public interface Mapping { 14 /** 15 * A user-defined function. 16 */ 17 double map(double x); 18 } 19 20