Package org.drip.sample.stretch
Class CurvatureLengthRoughnessPenalty
java.lang.Object
org.drip.sample.stretch.CurvatureLengthRoughnessPenalty
public class CurvatureLengthRoughnessPenalty
extends java.lang.Object
CurvatureLengthRoughnessPenalty demonstrates the setting up and the usage of the curvature, the
length, and the closeness of fit penalizing spline. This sample shows the following:
- Set up the X Predictor Ordinate and the Y Response Value Set.
- Construct a set of Predictor Ordinates, their Responses, and corresponding Weights to serve as
weighted closeness of fit.
- Construct a rational shape controller with the desired shape controller tension parameters and Global
Scaling.
- Construct the Segment Inelastic Parameter that is C2 (iK = 2 sets it to C2), with First Order Segment
Length Penalty Derivative, Second Order Segment Curvature Penalty Derivative, their Amplitudes, and
without Constraint.
- Construct the base, the base + 1 degree segment builder control.
- Construct the base, the elevated, and the best fit basis spline stretches.
- Compute the segment-by-segment monotonicity for all the three stretches.
- Compute the Stretch Jacobian for all the three stretches.
- Compute the Base Stretch Curvature, Length, and the Best Fit DPE.
- Compute the Elevated Stretch Curvature, Length, and the Best Fit DPE.
- Compute the Best Fit Stretch Curvature, Length, and the Best Fit DPE.
- Module = Computational Core Module
- Library = Spline Builder Library
- Project = DROP API Construction and Usage
- Package = Knot Insertion Curvature Roughness Penalty
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description CurvatureLengthRoughnessPenalty()
-
Method Summary
Modifier and Type Method Description static void
main(java.lang.String[] astrArgs)
Entry PointMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CurvatureLengthRoughnessPenalty
public CurvatureLengthRoughnessPenalty()
-
-
Method Details
-
main
public static final void main(java.lang.String[] astrArgs) throws java.lang.ExceptionEntry Point- Parameters:
astrArgs
- Command Line Argument Array- Throws:
java.lang.Exception
- Thrown on Error/Exception Situation
-