Drake
symbolic_expression_test.cc File Reference
#include <algorithm>
#include <cmath>
#include <functional>
#include <map>
#include <memory>
#include <random>
#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

◆ a_

const Expression a_ {var_a_}
protected

◆ c1_

const Expression c1_ {-10.0}
protected

◆ c2_

const Expression c2_ {1.0}
protected

◆ c3_

const Expression c3_ {3.14159}
protected

◆ c4_

const Expression c4_ {-2.718}
protected

◆ collection_

const vector<Expression> collection_
protected
Initial value:
{
const Expression e_tanh_
Definition: symbolic_expression_test.cc:137
const Expression e_floor_
Definition: symbolic_expression_test.cc:141
const Expression e_log_
Definition: symbolic_expression_test.cc:123
const Expression e_min_
Definition: symbolic_expression_test.cc:138
const Expression e_tan_
Definition: symbolic_expression_test.cc:130
const Expression e_ceil_
Definition: symbolic_expression_test.cc:140
const Expression e_acos_
Definition: symbolic_expression_test.cc:132
const Expression e_uf_
Definition: symbolic_expression_test.cc:144
const Expression e_atan_
Definition: symbolic_expression_test.cc:133
const Expression e_sqrt_
Definition: symbolic_expression_test.cc:126
const Expression e_abs_
Definition: symbolic_expression_test.cc:124
const Expression e_asin_
Definition: symbolic_expression_test.cc:131
const Expression e_nan_
Definition: symbolic_expression_test.cc:143
const Expression e_cos_
Definition: symbolic_expression_test.cc:129
const Expression e_sinh_
Definition: symbolic_expression_test.cc:135
const Expression e_mul_
Definition: symbolic_expression_test.cc:121
const Expression e_atan2_
Definition: symbolic_expression_test.cc:134
const Expression e_exp_
Definition: symbolic_expression_test.cc:125
const Expression e_var_
Definition: symbolic_expression_test.cc:118
const Expression e_constant_
Definition: symbolic_expression_test.cc:117
const Expression e_ite_
Definition: symbolic_expression_test.cc:142
const Expression e_add_
Definition: symbolic_expression_test.cc:119
const Expression e_sin_
Definition: symbolic_expression_test.cc:128
const Expression e_neg_
Definition: symbolic_expression_test.cc:120
const Expression e_div_
Definition: symbolic_expression_test.cc:122
const Expression e_cosh_
Definition: symbolic_expression_test.cc:136
const Expression e_max_
Definition: symbolic_expression_test.cc:139
const Expression e_pow_
Definition: symbolic_expression_test.cc:127

◆ e_

const Expression e_ {M_E}
protected

◆ e_abs_

const Expression e_abs_ {abs(x_)}
protected

◆ e_acos_

const Expression e_acos_ {acos(x_)}
protected

◆ e_add_

const Expression e_add_ {x_ + y_}
protected

◆ e_asin_

const Expression e_asin_ {asin(x_)}
protected

◆ e_atan2_

const Expression e_atan2_ {atan2(x_, y_)}
protected

◆ e_atan_

const Expression e_atan_ {atan(x_)}
protected

◆ e_ceil_

const Expression e_ceil_ {ceil(x_)}
protected

◆ e_constant_

const Expression e_constant_ {1.0}
protected

◆ e_cos_

const Expression e_cos_ {cos(x_)}
protected

◆ e_cosh_

const Expression e_cosh_ {cosh(x_)}
protected

◆ e_div_

const Expression e_div_ {x_ / y_}
protected

◆ e_exp_

const Expression e_exp_ {exp(x_)}
protected

◆ e_floor_

const Expression e_floor_ {floor(x_)}
protected

◆ e_ite_

const Expression e_ite_ {if_then_else(x_ < y_, x_, y_)}
protected

◆ e_log_

const Expression e_log_ {log(x_)}
protected

◆ e_max_

const Expression e_max_ {max(x_, y_)}
protected

◆ e_min_

const Expression e_min_ {min(x_, y_)}
protected

◆ e_mul_

const Expression e_mul_ {x_ * y_}
protected

◆ e_nan_

const Expression e_nan_ {Expression::NaN()}
protected

◆ e_neg_

const Expression e_neg_ {-x_}
protected

◆ e_pow_

const Expression e_pow_ {pow(x_, y_)}
protected

◆ e_sin_

const Expression e_sin_ {sin(x_)}
protected

◆ e_sinh_

const Expression e_sinh_ {sinh(x_)}
protected

◆ e_sqrt_

const Expression e_sqrt_ {sqrt(x_)}
protected

◆ e_tan_

const Expression e_tan_ {tan(x_)}
protected

◆ e_tanh_

const Expression e_tanh_ {tanh(x_)}
protected

◆ e_uf_

const Expression e_uf_ {uninterpreted_function("uf", {var_x_, var_y_})}
protected

◆ e_var_

const Expression e_var_ {var_x_}
protected

◆ neg_one_

const Expression neg_one_ {-1.0}
protected

◆ neg_pi_

const Expression neg_pi_ {-M_PI}
protected

◆ one_

const Expression one_ {1.0}
protected

◆ pi_

const Expression pi_ {M_PI}
protected

◆ two_

const Expression two_ {2.0}
protected

◆ var_a_

const Variable var_a_ {"a"}
protected

◆ var_x_

const Variable var_x_ {"x"}
protected

◆ var_y_

const Variable var_y_ {"y"}
protected

◆ var_z_

const Variable var_z_ {"z"}
protected

◆ x_

const Expression x_ {var_x_}
protected

◆ x_plus_y_

const Expression x_plus_y_ {x_ + y_}
protected

◆ x_plus_z_

const Expression x_plus_z_ {x_ + z_}
protected

◆ y_

const Expression y_ {var_y_}
protected

◆ z_

const Expression z_ {var_z_}
protected

◆ zero_

const Expression zero_ {0.0}
protected