/** * Maps input to the open interval (min, max) with 0 going to the mean of min and * max. When scale is large, a larger proportion of values are mapped to points * near the boundaries. * @see #softLimit(double, double, double) * @param min The largest lower bound on values to be returned. * @param max The least upper bound on values to be returned. * @return A mapping that satisfies the desired constraint. */ public static Mapping softLimit(double min, double max) { return softLimit(min, max, 1); }
/** * Maps input to the open interval (min, max) with 0 going to the mean of min and * max. When scale is large, a larger proportion of values are mapped to points * near the boundaries. * @see #softLimit(double, double, double) * @param min The largest lower bound on values to be returned. * @param max The least upper bound on values to be returned. * @return A mapping that satisfies the desired constraint. */ public static Mapping softLimit(double min, double max) { return softLimit(min, max, 1); }
/** * Maps input to the open interval (min, max) with 0 going to the mean of min and * max. When scale is large, a larger proportion of values are mapped to points * near the boundaries. * @see #softLimit(double, double, double) * @param min The largest lower bound on values to be returned. * @param max The least upper bound on values to be returned. * @return A mapping that satisfies the desired constraint. */ public static Mapping softLimit(double min, double max) { return softLimit(min, max, 1); }