#include <stdexcept>#include <typeinfo>#include <boost/static_assert.hpp>#include <roboptim/core/sys.hh>#include <roboptim/core/differentiable-function.hh>Namespaces | |
| namespace | roboptim |
defined(EIGEN_RUNTIME_NO_MALLOC) && !defined(ROBOPTIM_DO_NOT_CHECK_ALLOCATION) | |
| namespace | roboptim::detail |
Functions | |
| template<typename T > | |
| void | roboptim::detail::jacobian_from_gradients (Function::matrix_ref jac, const std::vector< const T * > &c, Function::const_vector_ref x) |
| template<typename T > | |
| std::ostream & | roboptim::operator<< (std::ostream &, const std::vector< T > &) |
| Display a vector. | |
| template<typename T1 , typename T2 > | |
| std::ostream & | roboptim::operator<< (std::ostream &, const std::pair< T1, T2 > &) |
| Display a pair. | |
| template<typename T1 , typename T2 > | |
| std::ostream & | roboptim::operator<< (std::ostream &, const std::map< T1, T2 > &) |
| Display a map. | |
| template<typename T > | |
| std::ostream & | roboptim::operator<< (std::ostream &, const Eigen::MatrixBase< T > &) |
| Display an Eigen object with the appropriate IOFormat. | |
| template<typename T > | |
| std::string | roboptim::typeString () |
| Return a string describing the type of T. | |
| template<typename U > | |
| void | roboptim::copySparseBlock (U &m, const U &b, Function::size_type startRow, Function::size_type startCol, bool compress=false) |
| Copy a sparse block into a sparse matrix. | |
| template<typename M , typename B > | |
| void | roboptim::updateSparseBlock (M &m, const B &b, Function::size_type startRow, Function::size_type startCol) |
| Update a sparse block of a sparse matrix. | |
| double | roboptim::normalize (double x, double eps=1e-8) |
| Apply normalize to a scalar. | |
| template<typename T > | |
| T | roboptim::normalize (const T &x, double eps=1e-8) |
| Apply normalize to each element of an Eigen vector. | |