This commit is contained in:
Luc Maisonobe 2015-04-30 16:25:48 +02:00
parent afcfbf57b9
commit c769a9ded6
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ import org.apache.commons.math4.util.MathArrays;
* the responsibility of the caller. For each combination of number of free parameters and * the responsibility of the caller. For each combination of number of free parameters and
* derivation order, only one compiler is necessary, and this compiler will be used to * derivation order, only one compiler is necessary, and this compiler will be used to
* perform computations on all arrays provided to it, which can represent hundreds or * perform computations on all arrays provided to it, which can represent hundreds or
* thousands of different parameters kept together with all theur partial derivatives. * thousands of different parameters kept together with all their partial derivatives.
* </p> * </p>
* <p> * <p>
* The arrays on which compilers operate contain only the partial derivatives together * The arrays on which compilers operate contain only the partial derivatives together
@ -555,7 +555,7 @@ public class DSCompiler {
* @param order derivation order * @param order derivation order
* @param sizes sizes array * @param sizes sizes array
* @param orders derivation orders with respect to each parameter * @param orders derivation orders with respect to each parameter
* (the lenght of this array must match the number of parameters) * (the length of this array must match the number of parameters)
* @return index of the partial derivative * @return index of the partial derivative
* @exception NumberIsTooLargeException if sum of derivation orders is larger * @exception NumberIsTooLargeException if sum of derivation orders is larger
* than the instance limits * than the instance limits

View File

@ -46,7 +46,7 @@ import org.apache.commons.math4.util.MathUtils;
* methods by this class (+, -, *, /, %, sin, cos ...).</p> * methods by this class (+, -, *, /, %, sin, cos ...).</p>
* <p>Implementing complex expressions by hand using these classes is * <p>Implementing complex expressions by hand using these classes is
* a tedious and error-prone task but has the advantage of having no limitation * a tedious and error-prone task but has the advantage of having no limitation
* on the derivation order despite no requiring users to compute the derivatives by * on the derivation order despite not requiring users to compute the derivatives by
* themselves. Implementing complex expression can also be done by developing computation * themselves. Implementing complex expression can also be done by developing computation
* code using standard primitive double values and to use {@link * code using standard primitive double values and to use {@link
* UnivariateFunctionDifferentiator differentiators} to create the {@link * UnivariateFunctionDifferentiator differentiators} to create the {@link