Lines Matching refs:parameters
68 * Constructs an instance with the specified parameters.
88 * Constructs an instance with the specified parameters.
90 * @param parameters <tt>a</tt>, <tt>b</tt>, <tt>c</tt>, and <tt>d</tt>
93 * @throws IllegalArgumentException if <code>parameters</code> is null,
94 * <code>parameters</code> length is not 4, or if
95 * <code>parameters[3]</code> is 0
97 public GaussianFunction(double[] parameters) {
98 if (parameters == null) {
101 if (parameters.length != 4) {
102 throw new DimensionMismatchException(4, parameters.length);
104 if (parameters[3] == 0.0) {
107 this.a = parameters[0];
108 this.b = parameters[1];
109 this.c = parameters[2];
110 this.d = parameters[3];