util.hxx File Reference

Namespaces

 roboptim
 defined(EIGEN_RUNTIME_NO_MALLOC) && !defined(ROBOPTIM_DO_NOT_CHECK_ALLOCATION)
 
 roboptim::detail
 

Functions

template<typename T >
void roboptim::detail::jacobian_from_gradients (DifferentiableFunction::matrix_ref jac, const std::vector< const T * > &c, DifferentiableFunction::const_vector_ref x)
 
template<typename T >
std::ostream & roboptim::operator<< (std::ostream &, const std::vector< T > &)
 Display a vector. More...
 
template<typename T1 , typename T2 >
std::ostream & roboptim::operator<< (std::ostream &, const std::pair< T1, T2 > &)
 Display a pair. More...
 
template<typename T1 , typename T2 >
std::ostream & roboptim::operator<< (std::ostream &, const std::map< T1, T2 > &)
 Display a map. More...
 
template<typename T >
std::ostream & roboptim::operator<< (std::ostream &, const Eigen::MatrixBase< T > &)
 Display an Eigen object with the appropriate IOFormat. More...
 
template<typename U >
void roboptim::copySparseBlock (U &matrix, const U &block, Function::size_type startRow, Function::size_type startCol, bool compress=false)
 Copy a sparse block into a sparse matrix. More...
 
double roboptim::normalize (double x)
 Apply normalize to a scalar. More...
 
template<typename T >
roboptim::normalize (const T &x)
 Apply normalize to each element of an Eigen vector. More...