public class LocalMonotoneCkGenerator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
C1_AKIMA
C1 Type: Akima
|
static java.lang.String |
C1_BESSEL
C1 Type: Bessel
|
static java.lang.String |
C1_HARMONIC
C1 Type: Harmonic
|
static java.lang.String |
C1_HUYNH_LE_FLOCH
C1 Type: Huynh - Le Floch Limiter
|
static java.lang.String |
C1_HYMAN83
C1 Type: Hyman83
|
static java.lang.String |
C1_HYMAN89
C1 Type: Hyman89
|
static java.lang.String |
C1_KRUGER
C1 Type: Kruger
|
static java.lang.String |
C1_MONOTONE_CONVEX
C1 Type: Monotone Convex
|
static java.lang.String |
C1_VAN_LEER
C1 Type: Van Leer Limiter
|
static java.lang.String |
C1_VANILLA
C1 Type: Vanilla
|
Modifier and Type | Method and Description |
---|---|
static double[] |
AkimaC1(double[] adblPredictorOrdinate,
double[] adblResponseValue)
Generate a Akima C1 Array from the specified Array of Predictor Ordinates and the Response Values.
|
static double[] |
ApplyMonotoneFilter(double[] adblC1,
double[] adblLinearC1)
Apply the Monotone Filter in the Input C1 Entry
|
static double[] |
BesselC1(double[] adblPredictorOrdinate,
double[] adblResponseValue)
Generate a Bessel C1 Array from the specified Array of Predictor Ordinates and the Response Values
|
double[] |
C1()
Retrieve the C1 Array
|
static LocalMonotoneCkGenerator |
Create(double[] adblPredictorOrdinate,
double[] adblResponseValue,
java.lang.String strGeneratorType,
boolean bEliminateSpuriousExtrema,
boolean bApplyMonotoneFilter)
Generate the Local Control Stretch in accordance with the desired Customization Parameters
|
static LocalMonotoneCkGenerator |
Create(int[] aiPredictorOrdinate,
double[] adblResponseValue,
java.lang.String strGeneratorType,
boolean bEliminateSpuriousExtrema,
boolean bApplyMonotoneFilter)
Generate the Local Control Stretch in accordance with the desired Customization Parameters
|
static double[] |
EliminateSpuriousExtrema(double[] adblC1,
double[] adblLinearC1)
Eliminate the Spurious Extrema in the Input C1 Entry
|
static double[] |
HarmonicC1(double[] adblPredictorOrdinate,
double[] adblResponseValue)
Generate a Harmonic C1 Array from the specified Array of Predictor Ordinates and the Response Values
Fritcsh and Butland (1984) A Method for constructing local monotonic piece-wise cubic interpolants -
SIAM J on Scientific and Statistical Computing 5, 300-304.
|
static double[] |
HuynhLeFlochLimiterC1(double[] adblPredictorOrdinate,
double[] adblResponseValue)
Generate a Huynh Le Floch Limiter C1 Array from the specified Array of Predictor Ordinates and the
Response Values.
|
static double[] |
Hyman83C1(double[] adblPredictorOrdinate,
double[] adblResponseValue)
Generate a Hyman83 C1 Array from the specified Array of Predictor Ordinates and the Response Values
Hyman (1983) Accurate Monotonicity Preserving Cubic Interpolation -
SIAM J on Numerical Analysis 4 (4), 645-654.
|
static double[] |
Hyman89C1(double[] adblPredictorOrdinate,
double[] adblResponseValue)
Generate a Hyman89 C1 Array from the specified Array of Predictor Ordinates and the Response Values
Doherty, Edelman, and Hyman (1989) Non-negative, monotonic, or convexity preserving cubic and quintic
Hermite interpolation - Mathematics of Computation 52 (186), 471-494.
|
static double[] |
Hyman89QuinticMonotoneC1(double[] adblPredictorOrdinate,
double[] adblResponseValue,
double[] adblFirstDerivative,
double[] adblSecondDerivative)
Generate C1 Slope Quintic Polynomial is Monotone using the Hyman89 Algorithm
Doherty, Edelman, and Hyman (1989) Non-negative, monotonic, or convexity preserving cubic and quintic
Hermite interpolation - Mathematics of Computation 52 (186), 471-494.
|
static double[] |
KrugerC1(double[] adblPredictorOrdinate,
double[] adblResponseValue)
Generate a Kruger C1 Array from the specified Array of Predictor Ordinates and the Response Values.
|
static double[] |
LinearC1(double[] adblPredictorOrdinate,
double[] adblResponseValue)
Generate a Vanilla C1 Array from the specified Array of Predictor Ordinates and the Response Values
|
static double[] |
VanLeerLimiterC1(double[] adblPredictorOrdinate,
double[] adblResponseValue)
Generate a Van Leer Limiter C1 Array from the specified Array of Predictor Ordinates and the Response
Values.
|
static boolean |
VerifyHyman89QuinticMonotonicity(double[] adblPredictorOrdinate,
double[] adblResponseValue,
double[] adblFirstDerivative,
double[] adblSecondDerivative)
Verify if the given Quintic Polynomial is Monotone using the Hyman89 Algorithm
Doherty, Edelman, and Hyman (1989) Non-negative, monotonic, or convexity preserving cubic and quintic
Hermite interpolation - Mathematics of Computation 52 (186), 471-494.
|
public static final java.lang.String C1_VANILLA
public static final java.lang.String C1_AKIMA
public static final java.lang.String C1_BESSEL
public static final java.lang.String C1_HARMONIC
public static final java.lang.String C1_HUYNH_LE_FLOCH
public static final java.lang.String C1_HYMAN83
public static final java.lang.String C1_HYMAN89
public static final java.lang.String C1_KRUGER
public static final java.lang.String C1_MONOTONE_CONVEX
public static final java.lang.String C1_VAN_LEER
public static final double[] EliminateSpuriousExtrema(double[] adblC1, double[] adblLinearC1)
adblC1
- The C1 Array in which the Spurious Extrema is to be eliminatedadblLinearC1
- Array of the Linear C1 Entriespublic static final double[] ApplyMonotoneFilter(double[] adblC1, double[] adblLinearC1)
adblC1
- The C1 Array in which the Monotone Filter is to be appliedadblLinearC1
- Array of the Linear C1 Entriespublic static final double[] LinearC1(double[] adblPredictorOrdinate, double[] adblResponseValue)
adblPredictorOrdinate
- The Predictor Ordinate ArrayadblResponseValue
- The Response Value Arraypublic static final double[] BesselC1(double[] adblPredictorOrdinate, double[] adblResponseValue)
adblPredictorOrdinate
- The Predictor Ordinate ArrayadblResponseValue
- The Response Value Arraypublic static final double[] Hyman83C1(double[] adblPredictorOrdinate, double[] adblResponseValue)
adblPredictorOrdinate
- The Predictor Ordinate ArrayadblResponseValue
- The Response Value Arraypublic static final double[] Hyman89C1(double[] adblPredictorOrdinate, double[] adblResponseValue)
adblPredictorOrdinate
- The Predictor Ordinate ArrayadblResponseValue
- The Response Value Arraypublic static final double[] HarmonicC1(double[] adblPredictorOrdinate, double[] adblResponseValue)
adblPredictorOrdinate
- The Predictor Ordinate ArrayadblResponseValue
- The Response Value Arraypublic static final double[] VanLeerLimiterC1(double[] adblPredictorOrdinate, double[] adblResponseValue)
adblPredictorOrdinate
- The Predictor Ordinate ArrayadblResponseValue
- The Response Value Arraypublic static final double[] HuynhLeFlochLimiterC1(double[] adblPredictorOrdinate, double[] adblResponseValue)
adblPredictorOrdinate
- The Predictor Ordinate ArrayadblResponseValue
- The Response Value Arraypublic static final double[] KrugerC1(double[] adblPredictorOrdinate, double[] adblResponseValue)
adblPredictorOrdinate
- The Predictor Ordinate ArrayadblResponseValue
- The Response Value Arraypublic static final double[] AkimaC1(double[] adblPredictorOrdinate, double[] adblResponseValue)
adblPredictorOrdinate
- The Predictor Ordinate ArrayadblResponseValue
- The Response Value Arraypublic static final boolean VerifyHyman89QuinticMonotonicity(double[] adblPredictorOrdinate, double[] adblResponseValue, double[] adblFirstDerivative, double[] adblSecondDerivative) throws java.lang.Exception
adblPredictorOrdinate
- Array of Predictor OrdinatesadblResponseValue
- Array of Response ValuesadblFirstDerivative
- Array of First DerivativesadblSecondDerivative
- Array of Second Derivativesjava.lang.Exception
- Thrown if the Monotonicity cannot be determinedpublic static final double[] Hyman89QuinticMonotoneC1(double[] adblPredictorOrdinate, double[] adblResponseValue, double[] adblFirstDerivative, double[] adblSecondDerivative)
adblPredictorOrdinate
- Array of Predictor OrdinatesadblResponseValue
- Array of Response ValuesadblFirstDerivative
- Array of First DerivativesadblSecondDerivative
- Array of Second Derivativespublic static final LocalMonotoneCkGenerator Create(double[] adblPredictorOrdinate, double[] adblResponseValue, java.lang.String strGeneratorType, boolean bEliminateSpuriousExtrema, boolean bApplyMonotoneFilter)
adblPredictorOrdinate
- The Predictor Ordinate ArrayadblResponseValue
- The Response Value ArraystrGeneratorType
- The C1 Generator TypebEliminateSpuriousExtrema
- TRUE - Eliminate Spurious ExtremabApplyMonotoneFilter
- TRUE - Apply Monotone Filterpublic static final LocalMonotoneCkGenerator Create(int[] aiPredictorOrdinate, double[] adblResponseValue, java.lang.String strGeneratorType, boolean bEliminateSpuriousExtrema, boolean bApplyMonotoneFilter)
aiPredictorOrdinate
- The Predictor Ordinate ArrayadblResponseValue
- The Response Value ArraystrGeneratorType
- The C1 Generator TypebEliminateSpuriousExtrema
- TRUE - Eliminate Spurious ExtremabApplyMonotoneFilter
- TRUE - Apply Monotone Filterpublic double[] C1()