Drake
functional_form.cc File Reference
#include "drake/core/functional_form.h"
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <ostream>
#include <type_traits>
#include "drake/common/drake_assert.h"
Include dependency graph for functional_form.cc:

Namespaces

 drake
 

Functions

FunctionalForm operator+ (FunctionalForm const &l, FunctionalForm const &r)
 
FunctionalForm operator- (FunctionalForm const &l, FunctionalForm const &r)
 
FunctionalForm operator* (FunctionalForm const &l, FunctionalForm const &r)
 
FunctionalForm operator/ (FunctionalForm const &l, FunctionalForm const &r)
 
FunctionalForm abs (FunctionalForm const &x)
 
FunctionalForm cos (FunctionalForm const &x)
 
FunctionalForm exp (FunctionalForm const &x)
 
FunctionalForm log (FunctionalForm const &x)
 
FunctionalForm sin (FunctionalForm const &x)
 
FunctionalForm sqrt (FunctionalForm const &x)
 
FunctionalForm & operator+= (FunctionalForm &l, FunctionalForm const &r)
 
FunctionalForm & operator-= (FunctionalForm &l, FunctionalForm const &r)
 
FunctionalForm & operator*= (FunctionalForm &l, FunctionalForm const &r)
 
FunctionalForm & operator/= (FunctionalForm &l, FunctionalForm const &r)
 
FunctionalForm & operator+= (FunctionalForm &l, double r)
 
FunctionalForm & operator-= (FunctionalForm &l, double r)
 
FunctionalForm & operator*= (FunctionalForm &l, double r)
 
FunctionalForm & operator/= (FunctionalForm &l, double r)
 
FunctionalForm operator+ (FunctionalForm const &l, double r)
 
FunctionalForm operator+ (double l, FunctionalForm const &r)
 
FunctionalForm operator- (FunctionalForm const &l, double r)
 
FunctionalForm operator- (double l, FunctionalForm const &r)
 
FunctionalForm operator* (FunctionalForm const &l, double r)
 
FunctionalForm operator* (double l, FunctionalForm const &r)
 
FunctionalForm operator/ (FunctionalForm const &l, double r)
 
FunctionalForm operator/ (double l, FunctionalForm const &r)
 
std::ostream & operator<< (std::ostream &os, FunctionalForm const &f)
 
std::ostream & operator<< (std::ostream &os, FunctionalForm::Variable const &v)
 
bool operator== (FunctionalForm::Variable const &l, FunctionalForm::Variable const &r)
 
bool operator!= (FunctionalForm::Variable const &l, FunctionalForm::Variable const &r)
 
bool operator< (FunctionalForm::Variable const &l, FunctionalForm::Variable const &r)
 
bool operator<= (FunctionalForm::Variable const &l, FunctionalForm::Variable const &r)
 
bool operator> (FunctionalForm::Variable const &l, FunctionalForm::Variable const &r)
 
bool operator>= (FunctionalForm::Variable const &l, FunctionalForm::Variable const &r)
 
bool operator== (FunctionalForm::Variables const &lhs, FunctionalForm::Variables const &rhs)
 
bool operator!= (FunctionalForm::Variables const &lhs, FunctionalForm::Variables const &rhs)
 

Variables

static const char *const kFunctionalFormNames []
 
static std::size_t constexpr kInvalidIndex = ~static_cast<std::size_t>(0)