To represent a quadratic variable. More...
#include <func.h>
Public Member Functions | |
QuadraticVariable (double coeff_lin_, double coeff_quad_) | |
Public Attributes | |
double | coeff_lin |
The coefficient before this variable in the linear and quadratic term: coeff_lin * x + coeff_quad * x^2. | |
double | coeff_quad |
Friends | |
ostream & | operator<< (ostream &out, const QuadraticVariable &var) |
To represent a quadratic variable.
Definition at line 59 of file func.h.
SparsityInfo::QuadraticVariable::QuadraticVariable | ( | double | coeff_lin_, | |
double | coeff_quad_ | |||
) | [inline] |
ostream& operator<< | ( | ostream & | out, | |
const QuadraticVariable & | var | |||
) | [friend] |