|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hedgehog.HObject
com.hedgehog.math.functions.Function
com.hedgehog.math.functions.BesselFunction
public final class BesselFunction
Title: BesselFunction - represents Bessel functions.
Description: Provides static Bessel functions.
Bessel's second order differential equation occurs repeatedly in astronomy, heat conduction, electricity, stress in beams, etc. The general equation of order no is x^2y'' + xy' + (x^2-n^2) = 0.
For detailed information regarding Bessel functions refer to any good mathematics book, such as Chapter 6 of Peter O'Neil's "Advanced Engineering Mathematics", Wadsworth Pub., 1983.
Copyright: Copyright (c) Hedgehog Software 2007-2009.
Company: Hedgehog Software.
| Field Summary |
|---|
| Fields inherited from class com.hedgehog.math.functions.Function |
|---|
method |
| Fields inherited from class com.hedgehog.HObject |
|---|
mID, mName |
| Constructor Summary | |
|---|---|
BesselFunction()
Default constructor. |
|
BesselFunction(BesselFunction object)
Copy constructor. |
|
| Method Summary | |
|---|---|
boolean |
isValid()
Tests whether or not a valid object. |
static double |
j0(double x)
Evaluates J0(x). |
OneVariablePolynomial |
j0Polynomial(int nTerms)
Returns J0(x) as a polynomial object. |
double[] |
j0Roots(int numberOfRoots)
Returns the roots of J0(x)=0 upto and including the specified number of roots, which cannot exceed 30. |
static double |
j1(double x)
Evaluates J1(x). |
static double |
jn(int n,
double x)
Evaluates Jn(x). |
OneVariablePolynomial |
jnPolynomial(int n,
int nTerms)
Returns Jn(x) as a polynomial object. |
static double |
y0(double x)
Evaluates Y0(x). |
static double |
y1(double x)
Evaluates Y1(x). |
static double |
yn(int n,
double x)
Evaluates Yn(x). |
| Methods inherited from class com.hedgehog.math.functions.Function |
|---|
getMethod, setMethod, toString |
| Methods inherited from class com.hedgehog.HObject |
|---|
clone, compare, compareTo, copy, equals, getID, getName, hashCode, hasID, hasName, setID, setName |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BesselFunction()
public BesselFunction(BesselFunction object)
object - Object to copy.| Method Detail |
|---|
public static double j0(double x)
x - Value of x.
public static double j1(double x)
x - Value of x.
public static double jn(int n,
double x)
n - Order.x - Value of x.
public static double y0(double x)
x - Value of x.
public static double y1(double x)
x - Value of x.
public static double yn(int n,
double x)
n - Order.x - Value of x.
public OneVariablePolynomial jnPolynomial(int n,
int nTerms)
throws java.lang.IllegalArgumentException
n - Order of Jn(x).nTerms - Number of terms in polynomial.
java.lang.IllegalArgumentException - Thrown if n < 0 or nTerms <= 0.
public OneVariablePolynomial j0Polynomial(int nTerms)
throws java.lang.IllegalArgumentException
nTerms - Number of terms in polynomial.
java.lang.IllegalArgumentException - Thrown if nTerms <= 0.
public double[] j0Roots(int numberOfRoots)
throws java.lang.IllegalArgumentException
numberOfRoots - The number of roots in range [1:30].
java.lang.IllegalArgumentException - Thrown if numberOfRoots outside range [1:30].public boolean isValid()
Function
isValid in class Function
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||