Package | Description |
---|---|
fr.cnes.sirius.patrius.math.optim.linear |
Modifier and Type | Method and Description |
---|---|
Relationship |
LinearConstraint.getRelationship()
Gets the relationship between left and right hand sides.
|
Relationship |
Relationship.oppositeRelationship()
Gets the relationship obtained when multiplying all coefficients by -1.
|
static Relationship |
Relationship.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Relationship[] |
Relationship.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
LinearConstraint(double[] lhsCoefficients,
double lhsConstant,
Relationship relationshipIn,
double[] rhsCoefficients,
double rhsConstant)
Build a constraint involving two linear equations.
|
LinearConstraint(double[] coefficientsIn,
Relationship relationshipIn,
double valueIn)
Build a constraint involving a single linear equation.
|
LinearConstraint(RealVector lhsCoefficients,
double lhsConstant,
Relationship relationshipIn,
RealVector rhsCoefficients,
double rhsConstant)
Build a constraint involving two linear equations.
|
LinearConstraint(RealVector coefficientsIn,
Relationship relationshipIn,
double valueIn)
Build a constraint involving a single linear equation.
|
Copyright © 2021 CNES. All rights reserved.