Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
jerk_sequence_error_function.cpp
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
9
11
12namespace momentum {
13
14template <typename T>
16 const Skeleton& skel,
17 const ParameterTransform& pt)
18 : FiniteDifferenceSequenceErrorFunctionT<T>(skel, pt, {T(1), T(-3), T(3), T(-1)}) {}
19
20template <typename T>
23 character.skeleton,
24 character.parameterTransform,
25 {T(1), T(-3), T(3), T(-1)}) {}
26
27template class JerkSequenceErrorFunctionT<float>;
28template class JerkSequenceErrorFunctionT<double>;
29
30} // namespace momentum
FiniteDifferenceSequenceErrorFunctionT(const Skeleton &skel, const ParameterTransform &pt, const std::vector< T > &stencilCoefficients)
JerkSequenceErrorFunctionT(const Skeleton &skel, const ParameterTransform &pt)
SkeletonT< float > Skeleton
Definition fwd.h:263
ParameterTransformT< float > ParameterTransform
Definition fwd.h:244
A character model with skeletal structure, mesh, and optional components.
Definition character.h:32