Drake
LinearSystemExample1 Class Reference

Simple example x = b. More...

#include <drake/solvers/test/optimization_examples.h>

## Public Member Functions

LinearSystemExample1 ()

virtual ~LinearSystemExample1 ()

MathematicalProgramprog () const

const VectorDecisionVariable< 4 > & x () const

const Eigen::Vector4d b () const

const Eigen::Vector4d & initial_guess () const

std::shared_ptr< LinearEqualityConstraintcon () const

virtual void CheckSolution (const MathematicalProgramResult &result) const

Does not allow copy, move, or assignment
LinearSystemExample1 (const LinearSystemExample1 &)=delete

LinearSystemExample1operator= (const LinearSystemExample1 &)=delete

LinearSystemExample1 (LinearSystemExample1 &&)=delete

LinearSystemExample1operator= (LinearSystemExample1 &&)=delete

## Protected Member Functions

double tol () const

## Detailed Description

Simple example x = b.

## ◆ LinearSystemExample1() [1/3]

 LinearSystemExample1 ( const LinearSystemExample1 & )
delete

## ◆ LinearSystemExample1() [2/3]

 LinearSystemExample1 ( LinearSystemExample1 && )
delete

## ◆ LinearSystemExample1() [3/3]

 LinearSystemExample1 ( )

## ◆ ~LinearSystemExample1()

 virtual ~LinearSystemExample1 ( )
inlinevirtual

## ◆ b()

 const Eigen::Vector4d b ( ) const
inline

## ◆ CheckSolution()

 void CheckSolution ( const MathematicalProgramResult & result ) const
virtual

## ◆ con()

 std::shared_ptr con ( ) const
inline

## ◆ initial_guess()

 const Eigen::Vector4d& initial_guess ( ) const
inline

## ◆ operator=() [1/2]

 LinearSystemExample1& operator= ( const LinearSystemExample1 & )
delete

## ◆ operator=() [2/2]

 LinearSystemExample1& operator= ( LinearSystemExample1 && )
delete

## ◆ prog()

 MathematicalProgram* prog ( ) const
inline

## ◆ tol()

 double tol ( ) const
inlineprotected

## ◆ x()

 const VectorDecisionVariable<4>& x ( ) const
inline

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