Drake
Drake C++ Documentation
latex.h File Reference
#include <sstream>
#include <string>
#include <unordered_map>
#include <vector>
#include <Eigen/Core>
#include <Eigen/Sparse>
#include "drake/common/drake_copyable.h"
#include "drake/common/symbolic/expression.h"
Include dependency graph for latex.h:

Namespaces

 drake
 
 drake::symbolic
 

Functions

std::string ToLatex (const Expression &e, int precision=3)
 Generates a LaTeX string representation of e with floating point coefficients displayed using precision. More...
 
std::string ToLatex (const Formula &f, int precision=3)
 Generates a LaTeX string representation of f with floating point coefficients displayed using precision. More...
 
std::string ToLatex (double val, int precision=3)
 Generates a Latex string representation of val displayed with precision, with one exception. More...
 
template<typename Derived >
std::string ToLatex (const Eigen::PlainObjectBase< Derived > &M, int precision=3)
 Generates a LaTeX string representation of M with floating point coefficients displayed using precision. More...