Package com.polytechnik.utils
Class IstatesConditionalSubspaceLinearConstraints.GetMaxIStateAdj
java.lang.Object
com.polytechnik.utils.IstatesConditionalSubspaceLinearConstraints.GetMaxIStateAdj
- Enclosing class:
IstatesConditionalSubspaceLinearConstraints
For a given
u
try a number of adjustment methods,
select the one, providing the maximal I
after the constraint <psi|bQQc|psi>=0 is satisfied.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final PsiConstrained
(package private) final double
(package private) final double
Lagrange multiplier.(package private) final double
-
Constructor Summary
ConstructorsConstructorDescriptionGetMaxIStateAdj
(int n, double[] u, double[] bQQc, double[] bQQi, double[] ev_bQQc, double eps) -
Method Summary
Modifier and TypeMethodDescriptionprivate static double
getLagrangeMultiplier
(double[] bpsi_M, double[] bQQi, double[] bQQc)
-
Field Details
-
i
final double i -
orig_constraint
final double orig_constraint -
bpsi_M
-
m
final double mLagrange multiplier.
-
-
Constructor Details
-
GetMaxIStateAdj
GetMaxIStateAdj(int n, double[] u, double[] bQQc, double[] bQQi, double[] ev_bQQc, double eps)
-
-
Method Details
-
getLagrangeMultiplier
private static double getLagrangeMultiplier(double[] bpsi_M, double[] bQQi, double[] bQQc)
-