Drake
symbolic_polynomial_test.cc File Reference
#include <string>
#include <utility>
#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

◆ a_

const Expression a_ {var_a_}
protected

◆ b_

const Expression b_ {var_b_}
protected

◆ c_

const Expression c_ {var_c_}
protected

◆ doubles_

const vector<double> doubles_ {-9999.0, -5.0, -1.0, 0.0, 1.0, 5.0, 9999.0}
protected

◆ exprs_

const vector<Expression> exprs_
protected

◆ indeterminates_

const Variables indeterminates_ {var_x_, var_y_, var_z_}
protected

◆ monomials_

const drake::VectorX<symbolic::Monomial> monomials_
protected
Initial value:
{
const Variables var_xyz_
Definition: symbolic_polynomial_test.cc:33
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

◆ var_a_

const Variable var_a_ {"a"}
protected

◆ var_abc_

const Variables var_abc_ {var_a_, var_b_, var_c_}
protected

◆ var_b_

const Variable var_b_ {"b"}
protected

◆ var_c_

const Variable var_c_ {"c"}
protected

◆ var_x_

const Variable var_x_ {"x"}
protected

◆ var_xy_

const Variables var_xy_ {var_x_, var_y_}
protected

◆ var_xyz_

const Variables var_xyz_ {var_x_, var_y_, var_z_}
protected

◆ var_y_

const Variable var_y_ {"y"}
protected

◆ var_z_

const Variable var_z_ {"z"}
protected

◆ x_

const Expression x_ {var_x_}
protected

◆ xy_

const Expression xy_ {var_x_ + var_y_}
protected

◆ xyz_

const Expression xyz_ {var_x_ + var_y_ + var_z_}
protected

◆ y_

const Expression y_ {var_y_}
protected

◆ z_

const Expression z_ {var_z_}
protected