Crocoddyl
Loading...
Searching...
No Matches
ActivationBoundsTpl< _Scalar > Struct Template Reference

Public Types

typedef MathBaseTpl< Scalar > MathBase
typedef MathBase::MatrixXs MatrixXs
typedef MathBase::VectorXs VectorXs

Public Member Functions

 ActivationBoundsTpl (const ActivationBoundsTpl &other)
 ActivationBoundsTpl (const VectorXs &lower, const VectorXs &upper, const Scalar b=Scalar(1.))
template<typename NewScalar>
ActivationBoundsTpl< NewScalar > cast () const
ActivationBoundsTploperator= (const ActivationBoundsTpl &other)
void print (std::ostream &os) const

Public Attributes

Scalar beta
VectorXs lb
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar
VectorXs ub

Friends

std::ostream & operator<< (std::ostream &os, const ActivationBoundsTpl &bounds)
 Print information on the activation bounds.

Detailed Description

template<typename _Scalar>
struct crocoddyl::ActivationBoundsTpl< _Scalar >

Definition at line 19 of file quadratic-barrier.hpp.

Member Typedef Documentation

◆ MathBase

template<typename _Scalar>
typedef MathBaseTpl<Scalar> MathBase

Definition at line 23 of file quadratic-barrier.hpp.

◆ VectorXs

template<typename _Scalar>
typedef MathBase::VectorXs VectorXs

Definition at line 24 of file quadratic-barrier.hpp.

◆ MatrixXs

template<typename _Scalar>
typedef MathBase::MatrixXs MatrixXs

Definition at line 25 of file quadratic-barrier.hpp.

Constructor & Destructor Documentation

◆ ActivationBoundsTpl() [1/3]

template<typename _Scalar>
ActivationBoundsTpl(const VectorXs &lower,
const VectorXs &upper,
const Scalarb = Scalar(1.) )
inline

Definition at line 27 of file quadratic-barrier.hpp.

◆ ActivationBoundsTpl() [2/3]

template<typename _Scalar>
ActivationBoundsTpl(const ActivationBoundsTpl< _Scalar > &other)
inline

Definition at line 73 of file quadratic-barrier.hpp.

◆ ActivationBoundsTpl() [3/3]

template<typename _Scalar>
ActivationBoundsTpl()
inline

Definition at line 75 of file quadratic-barrier.hpp.

Member Function Documentation

◆ cast()

template<typename _Scalar>
template<typename NewScalar>
ActivationBoundsTpl< NewScalar > cast()const
inline

Definition at line 78 of file quadratic-barrier.hpp.

◆ operator=()

template<typename _Scalar>
ActivationBoundsTpl & operator=(const ActivationBoundsTpl< _Scalar > &other)
inline

Definition at line 85 of file quadratic-barrier.hpp.

◆ print()

template<typename _Scalar>
void print(std::ostream &os)const
inline

Definition at line 103 of file quadratic-barrier.hpp.

◆ operator<<

template<typename _Scalar>
std::ostream & operator<<(std::ostream &os,
const ActivationBoundsTpl< _Scalar > &bounds )
friend

Print information on the activation bounds.

Definition at line 97 of file quadratic-barrier.hpp.

Member Data Documentation

◆ Scalar

template<typename _Scalar>
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar

Definition at line 22 of file quadratic-barrier.hpp.

◆ lb

template<typename _Scalar>
VectorXs lb

Definition at line 108 of file quadratic-barrier.hpp.

◆ ub

template<typename _Scalar>
VectorXs ub

Definition at line 109 of file quadratic-barrier.hpp.

◆ beta

template<typename _Scalar>
Scalar beta

Definition at line 110 of file quadratic-barrier.hpp.


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