Click or drag to resize

XPRBexpr Methods

The XPRBexpr type exposes the following members.

Methods
 NameDescription
Public methodCode exampleadd(Double) Adds a numeric value to the XPRB expression.
Public methodCode exampleadd(XPRBexpr) Adds another XPRB expression to the current XPRB expression.
Public methodCode exampleadd(XPRBterm) Adds an XPRBterm term to the XPRB expression.
Public methodCode exampleadd(XPRBvar) Adds an XPRBvar variable to the XPRB expression.
Public methodStatic memberCode exampleadd(XPRBexpr, XPRBexpr) Adds two XPRB expressions.
Public methodStatic memberCode exampleadd(XPRBexpr, XPRBterm) Adds an XPRBterm to an XPRB expression.
Public methodStatic memberCode exampleadd(XPRBexpr, XPRBvar) Adds an XPRBvar to an XPRB expression.
Public methodStatic memberCode exampleadd(XPRBexpr, Double) Adds a double to an XPRB expression.
Public methodCode exampleaddTerm(Double) Add a term involving a sole double to the XPRB expression.
Public methodCode exampleaddTerm(XPRBterm) Add a term involving an XPRBter, to the XPRB expression/
Public methodCode exampleaddTerm(XPRBvar) Add a term involving a sole XPRBvar to the XPRB expression.
Public methodCode exampleaddTerm(Double, XPRBvar) Add a term involving an XPRBvar and double to the XPRB expression.
Public methodCode exampleaddTerm(XPRBvar, Double) Add a term involving an XPRBvar and double to the XPRB expression.
Public methodCode exampleaddTerm(Double, XPRBvar, XPRBvar) Add a term involving two XPRBvars and a double to the XPRB expression.
Public methodCode exampleaddTerm(XPRBvar, XPRBvar, Double) Add a term involving two XPRBvars and a double to the XPRB expression.
Public methodassign Assign an XPRB expression to the current XPRBexpr.
Public methodCode exampledelTerm(XPRBvar) Removes terms of a specified XPRbvar from an XPRB expression.
Public methodCode exampledelTerm(XPRBvar, XPRBvar) Delete a term involving two XPRBvars from the XPRB expression.
Public methodDispose 
Protected methodDispose(Boolean) 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberCode exampleEqualTo(XPRBexpr, XPRBexpr) Create an XPRBrelation from two XPRBexprs. Equal to.
Public methodStatic memberCode exampleEqualTo(XPRBexpr, XPRBterm) Create an XPRBrelation from an XPRBexpr and an XPRBterm. Equal to.
Public methodStatic memberCode exampleEqualTo(XPRBexpr, XPRBvar) Create an XPRBrelation from an XPRBexpr and an XPRBvar. Equal to.
Public methodStatic memberCode exampleEqualTo(XPRBexpr, Double) Create an XPRBrelation from an XPRBexpr and a double. Equal to.
Protected methodFinalize
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodCode examplegetSol Evaluates the XPRB expression.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberCode exampleGtEq(XPRBexpr, XPRBexpr) Create an XPRBrelation from two XPRBexprs. Greater than or equal to.
Public methodStatic memberCode exampleGtEq(XPRBexpr, XPRBterm) Create an XPRBrelation from an XPRBexpr and an XPRBterm. Greater than or equal to.
Public methodStatic memberCode exampleGtEq(XPRBexpr, XPRBvar) Create an XPRBrelation from an XPRBexpr and an XPRBvar. Greater than or equal to.
Public methodStatic memberCode exampleGtEq(XPRBexpr, Double) Create an XPRBrelation from an XPRBexpr and a double. Greater than or equal to.
Public methodStatic memberCode exampleLeEq(XPRBexpr, XPRBexpr) Create an XPRBrelation from two XPRBexprs. Less than or equal to.
Public methodStatic memberCode exampleLeEq(XPRBexpr, XPRBterm) Create an XPRBrelation from an XPRBexpr and an XPRBterm. Less than or equal to.
Public methodStatic memberCode exampleLeEq(XPRBexpr, XPRBvar) Create an XPRBrelation from an XPRBexpr and an XPRBvar. Less than or equal to.
Public methodStatic memberCode exampleLeEq(XPRBexpr, Double) Create an XPRBrelation from an XPRBexpr and a double. Less than or equal to.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodCode examplemul(Double) Multiplies the XPRB expression by a coefficient d.
Public methodmul(XPRBexpr) Multiply the XPRBexpr by another XPRBexpr.
Public methodCode examplemul(Double, XPRBexpr) Multiplies an XPRB expression by a coefficient d.
Public methodCode examplemul(XPRBexpr, XPRBexpr) Multiplies one XPRB expression by another.
Public methodCode examplemul(XPRBexpr, Double) Multiplies an XPRB expression by a coefficient d.
Public methodCode examplemul(XPRBterm, XPRBterm) Multiply two XPRBterms together to create an XPRBexpr.
Public methodCode exampleneg Negates the XPRB expression.
Public methodStatic memberCode exampleneg(XPRBexpr) Negates the XPRB expression.
Public methodprint Print the XPRBexpr.
Public methodCode examplesetTerm(Double) Adds a new numeric term to an XPRB expression.
Public methodCode examplesetTerm(Double, XPRBvar) Adds a new term to an XPRB expression.
Public methodCode examplesetTerm(XPRBvar, Double) Adds a new term to an XPRB expression.
Public methodCode examplesetTerm(Double, XPRBvar, XPRBvar) Set a new term in the XPRB expression.
Public methodCode examplesetTerm(XPRBvar, XPRBvar, Double) Set a new term in the XPRB expression.
Public methodsqr 
Public methodCode examplesqr(XPRBexpr) Square an XPRBexpr.
Public methodCode examplesqr(XPRBterm) Square an XPRBterm to create an XPRBexpr.
Public methodCode examplesqr(XPRBvar) Square an XPRBvar variable to create an XPRBexpr.
Public methodToString Return the string representation of the expression.
(Overrides ObjectToString)
Top
See Also