Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
fully_differentiable_body_ik.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  momentum

Functions

template<typename T>
std::vector< Eigen::Index > momentum::computeSubsetParameterIndices (const ParameterTransformT< T > &parameterTransform, const ParameterSet &activeParams)
template<typename T>
Eigen::VectorX< T > momentum::extractSubsetVec (Eigen::Ref< const Eigen::VectorX< T > > fullVec, const std::vector< Eigen::Index > &subsetIndexToFullParamIndex)
template<typename T>
Eigen::MatrixX< T > momentum::extractSubsetMat (Eigen::Ref< const Eigen::MatrixX< T > > fullMat, const std::vector< Eigen::Index > &subsetIndexToFullParamIndex)
template<typename T>
Eigen::VectorX< T > momentum::subsetVecToFullVec (Eigen::Ref< const Eigen::VectorX< T > > subsetVec, const std::vector< Eigen::Index > &subsetIndexToFullParamIndex, Eigen::Index fullVecSize)
float momentum::sqr (float val)
template<typename T>
Eigen::VectorX< T > momentum::hessianInverseTimes (Eigen::Ref< const Eigen::MatrixX< T > > jacobian, Eigen::Ref< const Eigen::VectorX< T > > v)
template<typename T>
std::vector< ErrorFunctionDerivativesT< T > > momentum::d_modelParams_d_inputs (const Skeleton &skeleton, const ParameterTransformT< T > &parameterTransform, const ParameterSet &activeParams, const ModelParametersT< T > &modelParameters, SkeletonSolverFunctionT< T > &solverFunction, Eigen::Ref< const Eigen::VectorX< T > > dLoss_dModelParams, T *gradientRmse)
template std::vector< ErrorFunctionDerivativesT< float > > momentum::d_modelParams_d_inputs< float > (const Skeleton &skeleton, const ParameterTransformT< float > &parameterTransform, const ParameterSet &activeParams, const ModelParametersT< float > &modelParameters, SkeletonSolverFunctionT< float > &solverFunction, Eigen::Ref< const Eigen::VectorX< float > > dLoss_dModelParams, float *gradientRmse)
template std::vector< ErrorFunctionDerivativesT< double > > momentum::d_modelParams_d_inputs< double > (const Skeleton &skeleton, const ParameterTransformT< double > &parameterTransform, const ParameterSet &activeParams, const ModelParametersT< double > &modelParameters, SkeletonSolverFunctionT< double > &solverFunction, Eigen::Ref< const Eigen::VectorX< double > > dLoss_dModelParams, double *gradientRmse)