Represents a pair of Variables corresponding to sin(q) and cos(q).
#include <drake/common/symbolic/trigonometric_polynomial.h>
Public Member Functions | |
| SinCos (Variable _s, Variable _c, SinCosSubstitutionType _type=SinCosSubstitutionType::kAngle) | |
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable | |
| SinCos (const SinCos &)=default | |
| SinCos & | operator= (const SinCos &)=default |
| SinCos (SinCos &&)=default | |
| SinCos & | operator= (SinCos &&)=default |
Public Attributes | |
| Variable | s {} |
| sin variable. More... | |
| Variable | c {} |
| cos variable. More... | |
| SinCosSubstitutionType | type {} |
| Allows a user to specify non-default substitutions, such as using half-angle formulas. More... | |
| SinCos | ( | Variable | _s, |
| Variable | _c, | ||
| SinCosSubstitutionType | _type = SinCosSubstitutionType::kAngle |
||
| ) |
| Variable c {} |
cos variable.
| Variable s {} |
sin variable.
| SinCosSubstitutionType type {} |
Allows a user to specify non-default substitutions, such as using half-angle formulas.