Drake
symbolic_expression_test.cc File Reference
#include <algorithm>
#include <cmath>
#include <functional>
#include <map>
#include <memory>
#include <set>
#include <sstream>
#include <stdexcept>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
#include <gtest/gtest.h>
#include "drake/common/hash.h"
#include "drake/common/symbolic.h"
#include "drake/common/test_utilities/is_memcpy_movable.h"
#include "drake/common/test_utilities/symbolic_test_util.h"
Include dependency graph for symbolic_expression_test.cc:

Namespaces

 drake
 
 drake::symbolic
 

Variable Documentation

const Expression c1_ {-10.0}
protected
const Expression c2_ {1.0}
protected
const Expression c3_ {3.14159}
protected
const Expression c4_ {-2.718}
protected
const vector<Expression> collection_
protected
Initial value:
{
const Expression e_tanh_
Definition: symbolic_expression_test.cc:128
const Expression e_floor_
Definition: symbolic_expression_test.cc:132
const Expression e_log_
Definition: symbolic_expression_test.cc:114
const Expression e_min_
Definition: symbolic_expression_test.cc:129
const Expression e_tan_
Definition: symbolic_expression_test.cc:121
const Expression e_ceil_
Definition: symbolic_expression_test.cc:131
const Expression e_acos_
Definition: symbolic_expression_test.cc:123
const Expression e_uf_
Definition: symbolic_expression_test.cc:135
const Expression e_atan_
Definition: symbolic_expression_test.cc:124
const Expression e_sqrt_
Definition: symbolic_expression_test.cc:117
const Expression e_abs_
Definition: symbolic_expression_test.cc:115
const Expression e_asin_
Definition: symbolic_expression_test.cc:122
const Expression e_nan_
Definition: symbolic_expression_test.cc:134
const Expression e_cos_
Definition: symbolic_expression_test.cc:120
const Expression e_sinh_
Definition: symbolic_expression_test.cc:126
const Expression e_mul_
Definition: symbolic_expression_test.cc:112
const Expression e_atan2_
Definition: symbolic_expression_test.cc:125
const Expression e_exp_
Definition: symbolic_expression_test.cc:116
const Expression e_var_
Definition: symbolic_expression_test.cc:109
const Expression e_constant_
Definition: symbolic_expression_test.cc:108
const Expression e_ite_
Definition: symbolic_expression_test.cc:133
const Expression e_add_
Definition: symbolic_expression_test.cc:110
const Expression e_sin_
Definition: symbolic_expression_test.cc:119
const Expression e_neg_
Definition: symbolic_expression_test.cc:111
const Expression e_div_
Definition: symbolic_expression_test.cc:113
const Expression e_cosh_
Definition: symbolic_expression_test.cc:127
const Expression e_max_
Definition: symbolic_expression_test.cc:130
const Expression e_pow_
Definition: symbolic_expression_test.cc:118
const Expression e_ {M_E}
protected
const Expression e_abs_ {abs(x_)}
protected
const Expression e_acos_ {acos(x_)}
protected
const Expression e_add_ {x_ + y_}
protected
const Expression e_asin_ {asin(x_)}
protected
const Expression e_atan2_ {atan2(x_, y_)}
protected
const Expression e_atan_ {atan(x_)}
protected
const Expression e_ceil_ {ceil(x_)}
protected
const Expression e_constant_ {1.0}
protected
const Expression e_cos_ {cos(x_)}
protected
const Expression e_cosh_ {cosh(x_)}
protected
const Expression e_div_ {x_ / y_}
protected
const Expression e_exp_ {exp(x_)}
protected
const Expression e_floor_ {floor(x_)}
protected
const Expression e_ite_ {if_then_else(x_ < y_, x_, y_)}
protected
const Expression e_log_ {log(x_)}
protected
const Expression e_max_ {max(x_, y_)}
protected
const Expression e_min_ {min(x_, y_)}
protected
const Expression e_mul_ {x_ * y_}
protected
const Expression e_nan_ {Expression::NaN()}
protected
const Expression e_neg_ {-x_}
protected
const Expression e_pow_ {pow(x_, y_)}
protected
const Expression e_sin_ {sin(x_)}
protected
const Expression e_sinh_ {sinh(x_)}
protected
const Expression e_sqrt_ {sqrt(x_)}
protected
const Expression e_tan_ {tan(x_)}
protected
const Expression e_tanh_ {tanh(x_)}
protected
const Expression e_uf_ {uninterpreted_function("uf", {var_x_, var_y_})}
protected
const Expression e_var_ {var_x_}
protected
const Expression neg_one_ {-1.0}
protected
const Expression neg_pi_ {-M_PI}
protected
const Expression one_ {1.0}
protected
const Expression pi_ {M_PI}
protected
const Expression two_ {2.0}
protected
const Variable var_x_ {"x"}
protected
const Variable var_y_ {"y"}
protected
const Variable var_z_ {"z"}
protected
const Expression x_ {var_x_}
protected
const Expression x_plus_y_ {x_ + y_}
protected
const Expression x_plus_z_ {x_ + z_}
protected
const Expression y_ {var_y_}
protected
const Expression z_ {var_z_}
protected
const Expression zero_ {0.0}
protected