Skip to content
Permalink
Browse files
Added Bessel functions of the first kind, based on NetLib implementat…
…ion.

JIRA: MATH-1066
Based on patch provided by Brian Wignall
  • Loading branch information
psteitz committed Dec 15, 2014
1 parent 3769587 commit b723f82bd55e1b78a370925393d3ee638020da0b
Showing 4 changed files with 5 additions and 1 deletion.
@@ -48,6 +48,8 @@ public enum LocalizedFormats implements Localizable {
AT_LEAST_ONE_COLUMN("matrix must have at least one column"),
AT_LEAST_ONE_ROW("matrix must have at least one row"),
BANDWIDTH("bandwidth ({0})"),
BESSEL_FUNCTION_BAD_ARGUMENT("Bessel function of order {0} cannot be computed for x = {1}"),
BESSEL_FUNCTION_FAILED_CONVERGENCE("Bessel function of order {0} failed to converge for x = {1}"),
BINOMIAL_INVALID_PARAMETERS_ORDER("must have n >= k for binomial coefficient (n, k), got k = {0}, n = {1}"),
BINOMIAL_NEGATIVE_PARAMETER("must have n >= 0 for binomial coefficient (n, k), got n = {0}"),
CANNOT_CLEAR_STATISTIC_CONSTRUCTED_FROM_EXTERNAL_MOMENTS("statistics constructed from external moments cannot be cleared"),
@@ -53,6 +53,7 @@
* <li>"Bessel Functions of Real Argument and Integer Order," Sookne, D. J., NBS
* Jour. of Res. B. 77B, 1973, pp 125-132.</li>
* </ul> </p>
* @since 3.4
*/
public class BesselJ
implements UnivariateFunction {
@@ -21,6 +21,8 @@ ASSYMETRIC_EIGEN_NOT_SUPPORTED = la d\u00e9composition en valeurs/vecteurs propr
AT_LEAST_ONE_COLUMN = une matrice doit comporter au moins une colonne
AT_LEAST_ONE_ROW = une matrice doit comporter au moins une ligne
BANDWIDTH = bande passante ({0})
BESSEL_FUNCTION_BAD_ARGUMENT = fonction d'ordre {0} ne peut pas \u00eatre calcul\u00e9 pour x = {1}
BESSEL_FUNCTION_FAILED_CONVERGENCE = fonction de l'ordre {0} n'a pas r\u00e9ussi \u00e0 converger pour x = {1}
BINOMIAL_INVALID_PARAMETERS_ORDER = n doit \u00eatre sup\u00e9rieur ou \u00e9gal \u00e0 k pour le coefficient du bin\u00f4me (n, k), or k = {0}, n = {1}
BINOMIAL_NEGATIVE_PARAMETER = n doit \u00eatre positif pour le coefficient du bin\u00f4me (n, k), or n = {0}
CANNOT_CLEAR_STATISTIC_CONSTRUCTED_FROM_EXTERNAL_MOMENTS = les statistiques bas\u00e9es sur des moments externes ne peuvent pas \u00eatre remises \u00e0 z\u00e9ro
@@ -16,7 +16,6 @@
*/
package org.apache.commons.math3.special;

import org.apache.commons.math3.exception.ConvergenceException;
import org.apache.commons.math3.exception.MathIllegalArgumentException;
import org.junit.Assert;
import org.junit.Test;

0 comments on commit b723f82

Please sign in to comment.