Drake
GenericTrivialCost2 Class Reference

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

Public Member Functions

 GenericTrivialCost2 ()=default
 
template<typename ScalarType >
void eval (detail::VecIn< ScalarType > const &x, detail::VecOut< ScalarType > *y) const
 
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 GenericTrivialCost2 (const GenericTrivialCost2 &)=default
 
GenericTrivialCost2operator= (const GenericTrivialCost2 &)=default
 
 GenericTrivialCost2 (GenericTrivialCost2 &&)=default
 
GenericTrivialCost2operator= (GenericTrivialCost2 &&)=default
 

Static Public Member Functions

static size_t numInputs ()
 
static size_t numOutputs ()
 

Constructor & Destructor Documentation

◆ GenericTrivialCost2() [1/3]

◆ GenericTrivialCost2() [2/3]

◆ GenericTrivialCost2() [3/3]

GenericTrivialCost2 ( )
default

Member Function Documentation

◆ eval()

void eval ( detail::VecIn< ScalarType > const &  x,
detail::VecOut< ScalarType > *  y 
) const
inline

◆ numInputs()

static size_t numInputs ( )
inlinestatic

◆ numOutputs()

static size_t numOutputs ( )
inlinestatic

◆ operator=() [1/2]

GenericTrivialCost2& operator= ( const GenericTrivialCost2 )
default

◆ operator=() [2/2]

GenericTrivialCost2& operator= ( GenericTrivialCost2 &&  )
default

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