| 
| 
  | Scalar (int x) | 
|   | 
| 
  | Scalar (double x) | 
|   | 
| 
  | Scalar (double *x) | 
|   | 
| 
Scalar &  | operator+= (const Scalar &other) | 
|   | 
| 
Scalar &  | operator-= (const Scalar &other) | 
|   | 
| 
Scalar &  | operator*= (const Scalar &other) | 
|   | 
| 
Scalar &  | operator/= (const Scalar &other) | 
|   | 
| 
Scalar  | operator- () const | 
|   | 
| 
bool  | operator== (const cvx::Scalar &other) const | 
|   | 
| 
double  | evaluate () const | 
|   | 
| 
size_t  | getOrder () const | 
|   | 
| 
bool  | isNorm () const | 
|   | 
| 
  | operator double () const | 
|   | 
| 
friend  | internal::Variable::operator Scalar () const | 
|   | 
 | 
| 
friend  | OptimizationProblem | 
|   | 
 | 
| 
Scalar  | operator+ (const Scalar &lhs, const Scalar &rhs) | 
|   | 
| 
Scalar  | operator- (const Scalar &lhs, const Scalar &rhs) | 
|   | 
| 
Scalar  | operator* (const Scalar &lhs, const Scalar &rhs) | 
|   | 
| 
Scalar  | operator/ (const Scalar &lhs, const Scalar &rhs) | 
|   | 
| 
Scalar  | sqrt (const Scalar &scalar) | 
|   | 
| 
Scalar  | square (const Scalar &scalar) | 
|   | 
| 
Scalar  | abs2 (const Scalar &scalar) | 
|   | 
| Constraint  | equalTo (const Scalar &lhs, const Scalar &rhs) | 
|   | Create an equality constraint: lhs == rhs.  More...
  | 
|   | 
| Constraint  | lessThan (const Scalar &lhs, const Scalar &rhs) | 
|   | Create a less than or equal constraint: lhs <= rhs.  More...
  | 
|   | 
| Constraint  | greaterThan (const Scalar &lhs, const Scalar &rhs) | 
|   | Create a greater than or equal constraint: lhs >= rhs.  More...
  | 
|   | 
| Constraint  | box (const Scalar &lower, const Scalar &middle, const Scalar &upper) | 
|   | Create a box constraint: lower <= middle <= upper.  More...
  | 
|   | 
| 
std::ostream &  | operator<< (std::ostream &os, const Scalar &scalar) | 
|   | 
◆ box
Create a box constraint: lower <= middle <= upper. 
- Parameters
 - 
  
    | lower | The lower bound  | 
    | middle | The middle term  | 
    | upper | The upper bound  | 
  
   
- Returns
 - Constraint The constraint to pass to addConstraint() 
 
 
 
◆ equalTo
Create an equality constraint: lhs == rhs. 
- Parameters
 - 
  
    | lhs | The left hand side  | 
    | rhs | The right hand side  | 
  
   
- Returns
 - Constraint The constraint to pass to addConstraint() 
 
 
 
◆ greaterThan
Create a greater than or equal constraint: lhs >= rhs. 
- Parameters
 - 
  
    | lhs | The left hand side  | 
    | rhs | The right hand side  | 
  
   
- Returns
 - Constraint The constraint to pass to addConstraint() 
 
 
 
◆ lessThan
Create a less than or equal constraint: lhs <= rhs. 
- Parameters
 - 
  
    | lhs | The left hand side  | 
    | rhs | The right hand side  | 
  
   
- Returns
 - Constraint The constraint to pass to addConstraint() 
 
 
 
The documentation for this class was generated from the following file: