public static final class GeneralizedContinuedFraction.Coefficient extends Object
n
-th "a" and "b" coefficients of the continued fraction.Modifier and Type | Method and Description |
---|---|
double |
getA()
Returns the
n -th "a" coefficient of the continued fraction. |
double |
getB()
Returns the
n -th "b" coefficient of the continued fraction. |
static GeneralizedContinuedFraction.Coefficient |
of(double a,
double b)
Create a new coefficient.
|
public double getA()
n
-th "a" coefficient of the continued fraction.an
.public double getB()
n
-th "b" coefficient of the continued fraction.bn
.public static GeneralizedContinuedFraction.Coefficient of(double a, double b)
a
- "a" coefficientb
- "b" coefficientCopyright © 2017–2022 The Apache Software Foundation. All rights reserved.