NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
traj_opt::SymbolicPoly Class Reference

#include <nonlinear_trajectory.h>

Public Member Functions

 SymbolicPoly ()
 
 SymbolicPoly (Variable *coeff, Variable *time, int n, decimal_t a)
 
 SymbolicPoly (Variable *coeff0, Variable *coeff1, Variable *time, int n, decimal_t a)
 
SymbolicPolyoperator+= (const SymbolicPoly &rhs)
 
decimal_t evaluate ()
 
ETV gradient (int u_id)
 
ETV hessian ()
 
ETV quad_gradient (int u_id)
 
ETV quad_gradient ()
 
ETV quad_hessian ()
 
SymbolicPoly square ()
 
void add (const SymbolicPoly &rhs)
 

Friends

SymbolicPoly operator* (decimal_t lhs, const SymbolicPoly &rhs)
 
std::ostream & operator<< (std::ostream &os, const SymbolicPoly &poly)
 

Constructor & Destructor Documentation

◆ SymbolicPoly() [1/3]

traj_opt::SymbolicPoly::SymbolicPoly ( )
inline

◆ SymbolicPoly() [2/3]

traj_opt::SymbolicPoly::SymbolicPoly ( Variable coeff,
Variable time,
int  n,
decimal_t  a 
)

◆ SymbolicPoly() [3/3]

traj_opt::SymbolicPoly::SymbolicPoly ( Variable coeff0,
Variable coeff1,
Variable time,
int  n,
decimal_t  a 
)

Member Function Documentation

◆ add()

void traj_opt::SymbolicPoly::add ( const SymbolicPoly rhs)

◆ evaluate()

decimal_t traj_opt::SymbolicPoly::evaluate ( )

◆ gradient()

ETV traj_opt::SymbolicPoly::gradient ( int  u_id)

◆ hessian()

ETV traj_opt::SymbolicPoly::hessian ( )

◆ operator+=()

SymbolicPoly & traj_opt::SymbolicPoly::operator+= ( const SymbolicPoly rhs)

◆ quad_gradient() [1/2]

ETV traj_opt::SymbolicPoly::quad_gradient ( )

◆ quad_gradient() [2/2]

ETV traj_opt::SymbolicPoly::quad_gradient ( int  u_id)

◆ quad_hessian()

ETV traj_opt::SymbolicPoly::quad_hessian ( )

◆ square()

SymbolicPoly traj_opt::SymbolicPoly::square ( )

Friends And Related Function Documentation

◆ operator*

SymbolicPoly operator* ( decimal_t  lhs,
const SymbolicPoly rhs 
)
friend

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const SymbolicPoly poly 
)
friend

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