jrl::qp::test::LeastSquareProblem< Separated > Struct Template Reference

#include <jrl-qp/test/problems.h>

Inheritance diagram for jrl::qp::test::LeastSquareProblem< Separated >:
Collaboration diagram for jrl::qp::test::LeastSquareProblem< Separated >:

Public Types

using Base = std::conditional_t< Separated, SeparatedFeasibilityConstraints, FeasibilityConstraints >
 

Public Member Functions

bool wellFormed () const
 

Public Attributes

Eigen::MatrixXd A
 
Eigen::VectorXd b
 

Detailed Description

template<bool Separated = false>
struct jrl::qp::test::LeastSquareProblem< Separated >

Representation of the Linear least-square problem min. 0.5 ||A x - b ||^2 s.t. feasibility constraints where the feasibility constraints are given by SeparatedFeasibilityConstraints if

Template Parameters
Separated= true and FeasibilityConstraints otherwise.

Member Typedef Documentation

◆ Base

template<bool Separated = false>
using jrl::qp::test::LeastSquareProblem< Separated >::Base = std::conditional_t<Separated, SeparatedFeasibilityConstraints, FeasibilityConstraints>

Member Function Documentation

◆ wellFormed()

template<bool Separated>
bool jrl::qp::test::LeastSquareProblem< Separated >::wellFormed
inline

Member Data Documentation

◆ A

template<bool Separated = false>
Eigen::MatrixXd jrl::qp::test::LeastSquareProblem< Separated >::A

◆ b

template<bool Separated = false>
Eigen::VectorXd jrl::qp::test::LeastSquareProblem< Separated >::b

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