Home | History | Annotate | Download | only in descriptive

Lines Matching refs:length

76      * @param length the number of elements to include
79 public void setData(final double[] values, final int begin, final int length) {
80 storedData = new double[length];
81 System.arraycopy(values, begin, storedData, 0, length);
100 return evaluate(values, 0, values.length);
106 public abstract double evaluate(final double[] values, final int begin, final int length);
115 * to verify that the input parameters designate a subarray of positive length.
119 * positive length</li>
123 * <code>length</code> is 0.
128 * @param length the number of elements to include
129 * @return true if the parameters are valid and designate a subarray of positive length
135 final int length) {
145 if (length < 0) {
146 throw new NotPositiveException(LocalizedFormats.LENGTH, length);
149 if (begin + length > values.length) {
154 if (length == 0) {
164 * to verify that the begin and length parameters designate a subarray of positive length
169 * positive length and the weights array contains legitimate values.</li>
173 * <li>the weights array does not have the same length as the values array</li>
177 * <li>the start and length arguments do not determine a valid array</li></ul>
180 * <code>length</code> is 0.
186 * @param length the number of elements to include
187 * @return true if the parameters are valid and designate a subarray of positive length
195 final int length) {
201 if (weights.length != values.length) {
202 throw new DimensionMismatchException(weights.length, values.length);
206 for (int i = begin; i < begin + length; i++) {
229 return test(values, begin, length);