LinearCost class
          #include <ScsEigen/LinearCost.h>
        
        Contents
LinearCost is a concrete implementation of Cost. It implements a cost of the form
where is the optimization variable, and
Base classes
- class Cost
Constructors, destructors, conversion operators
- LinearCost() defaulted
- Constructor.
- LinearCost(const Eigen::Ref<const Eigen::VectorXd>& a, double b = 0)
- Constructor.
Public functions
Function documentation
               ScsEigen::
            Constructor.
               ScsEigen::
            Constructor.
| Parameters | |
|---|---|
| a | the vector . | 
| b | optional parameter. If not provided the is set to zero. | 
              bool ScsEigen::
            Set the vector .
| Parameters | |
|---|---|
| a | the vector . | 
| Returns | true/false in case of success/failure. |