Drake
symbolic_polynomial_test.cc File Reference
#include <string>
#include <vector>
#include <gtest/gtest.h>
#include "drake/common/symbolic.h"
#include "drake/common/test_utilities/symbolic_test_util.h"
Include dependency graph for symbolic_polynomial_test.cc:

Namespaces

 drake
 
 drake::symbolic
 

Variable Documentation

const Expression a_ {var_a_}
protected
const Expression b_ {var_b_}
protected
const Expression c_ {var_c_}
protected
const vector<double> doubles_ {-9999.0, -5.0, -1.0, 0.0, 1.0, 5.0, 9999.0}
protected
const vector<Expression> exprs_
protected
const drake::VectorX<symbolic::Monomial> monomials_
protected
Initial value:
{
const Variables var_xyz_
Definition: symbolic_polynomial_test.cc:29
Eigen::Matrix< Monomial, Eigen::Dynamic, 1 > MonomialBasis(const Variables &vars, const int degree)
Returns all monomials up to a given degree under the graded reverse lexicographic order...
Definition: symbolic_monomial_util.cc:7
const Variable var_a_ {"a"}
protected
const Variables var_abc_ {var_a_, var_b_, var_c_}
protected
const Variable var_b_ {"b"}
protected
const Variable var_c_ {"c"}
protected
const Variable var_x_ {"x"}
protected
const Variables var_xy_ {var_x_, var_y_}
protected
const Variables var_xyz_ {var_x_, var_y_, var_z_}
protected
const Variable var_y_ {"y"}
protected
const Variable var_z_ {"z"}
protected
const Expression x_ {var_x_}
protected
const Expression xy_ {var_x_ + var_y_}
protected
const Expression xyz_ {var_x_ + var_y_ + var_z_}
protected
const Expression y_ {var_y_}
protected
const Expression z_ {var_z_}
protected