#include <roboptim/core/fwd.hh>
#include <roboptim/core/portability.hh>
#include <vector>
#include <utility>
#include <map>
#include <string>
#include <roboptim/core/function.hh>
#include <roboptim/core/util.hxx>
Classes | |
class | roboptim::detail::DisableFPE |
Helper class used to disable floating-point exceptions. More... | |
struct | roboptim::detail::NoopDeleter< T > |
Custom deleter that does not delete anything. More... | |
Namespaces | |
namespace | roboptim |
defined(EIGEN_RUNTIME_NO_MALLOC) && !defined(ROBOPTIM_DO_NOT_CHECK_ALLOCATION) | |
namespace | roboptim::detail |
Typedefs | |
typedef void * | roboptim::detail::fenv_t |
ROBOPTIM_HAS_FENV_H. More... | |
Functions | |
ROBOPTIM_CORE_DLLAPI void | roboptim::detail::vector_to_array (Function::value_type *dst, Function::const_vector_ref src) |
ROBOPTIM_HAS_FENV_H. More... | |
ROBOPTIM_CORE_DLLAPI void | roboptim::detail::array_to_vector (Function::vector_ref dst, const Function::value_type *src) |
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. 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... | |
ROBOPTIM_CORE_DLLAPI const std::string | roboptim::demangle (const char *name) |
Demangle (if available). More... | |
template<typename T > | |
std::string | roboptim::typeString () |
Return a string describing the type of T. More... | |
ROBOPTIM_CORE_DLLAPI GenericFunctionTraits < EigenMatrixDense >::matrix_t | roboptim::sparse_to_dense (GenericFunctionTraits< EigenMatrixSparse >::const_matrix_ref m) |
Convert a sparse matrix into a dense matrix. More... | |
ROBOPTIM_CORE_DLLAPI GenericFunctionTraits < EigenMatrixDense >::vector_t | roboptim::sparse_to_dense (GenericFunctionTraits< EigenMatrixSparse >::const_gradient_ref v) |
Convert a sparse vector into a dense vector. More... | |
ROBOPTIM_CORE_DLLAPI GenericFunctionTraits < EigenMatrixDense > ::gradient_t | roboptim::toDense (GenericFunctionTraits< EigenMatrixSparse >::const_gradient_ref g) |
Convert an input gradient to a dense gradient (e.g. More... | |
ROBOPTIM_CORE_DLLAPI GenericFunctionTraits < EigenMatrixDense >::matrix_t | roboptim::toDense (GenericFunctionTraits< EigenMatrixSparse >::const_matrix_ref m) |
Convert an input matrix to a dense matrix (e.g. More... | |
ROBOPTIM_CORE_DLLAPI GenericFunctionTraits < EigenMatrixDense > ::const_matrix_ref | roboptim::toDense (GenericFunctionTraits< EigenMatrixDense >::const_matrix_ref m) |
Convert an input matrix to a dense matrix (e.g. More... | |
ROBOPTIM_CORE_DLLAPI bool | roboptim::allclose (const Eigen::SparseMatrix< double > &a, const Eigen::SparseMatrix< double > &b, double rtol=Eigen::NumTraits< double >::dummy_precision(), double atol=Eigen::NumTraits< double >::epsilon()) |
Compare sparse vectors (matrices) using both relative and absolute tolerances. More... | |
ROBOPTIM_CORE_DLLAPI bool | roboptim::allclose (const Eigen::Ref< const Eigen::MatrixXd > &a, const Eigen::Ref< const Eigen::MatrixXd > &b, double rtol=Eigen::NumTraits< double >::dummy_precision(), double atol=Eigen::NumTraits< double >::epsilon()) |
Compare dense vectors (matrices) using both relative and absolute tolerances. More... | |
template<typename M , typename B > | |
void | roboptim::copySparseBlock (M &m, const B &b, Function::size_type startRow, Function::size_type startCol, bool compress=false) |
Copy a sparse block into a sparse matrix. More... | |
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. More... | |
double | roboptim::normalize (double x, double eps=1e-8) |
Apply normalize to a scalar. More... | |
template<typename T > | |
T | roboptim::normalize (const T &x, double eps=1e-8) |
Apply normalize to each element of an Eigen vector. More... | |
ROBOPTIM_CORE_DLLAPI std::vector< std::string > | roboptim::split (const std::string &s, char d) |
Split a string on a given delimiter. More... | |