SparsityInfo::QuadraticVariable Class Reference

To represent a quadratic variable. More...

#include <func.h>

List of all members.

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)

Detailed Description

To represent a quadratic variable.

Definition at line 59 of file func.h.


Constructor & Destructor Documentation

SparsityInfo::QuadraticVariable::QuadraticVariable ( double  coeff_lin_,
double  coeff_quad_ 
) [inline]

Definition at line 65 of file func.h.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  out,
const QuadraticVariable var 
) [friend]

Definition at line 69 of file func.h.


Member Data Documentation

The coefficient before this variable in the linear and quadratic term: coeff_lin * x + coeff_quad * x^2.

Definition at line 63 of file func.h.

Definition at line 63 of file func.h.


The documentation for this class was generated from the following file:

Generated on 10 Mar 2013 for LaGO by  doxygen 1.6.1