Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
fwd.h
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
8// This file is @generated by gen_fwd.py
9// Do not edit this file directly, instead update gen_fwd_input.toml and run:
10// buck run @arvr/mode/platform010/opt //arvr/libraries/momentum:gen_fwd
11
12#pragma once
13
14#include <memory>
15
16namespace momentum {
17
18struct SolverOptions;
19
20using SolverOptions_p = ::std::shared_ptr<SolverOptions>;
21using SolverOptions_u = ::std::unique_ptr<SolverOptions>;
22using SolverOptions_w = ::std::weak_ptr<SolverOptions>;
23using SolverOptions_const_p = ::std::shared_ptr<const SolverOptions>;
24using SolverOptions_const_u = ::std::unique_ptr<const SolverOptions>;
25using SolverOptions_const_w = ::std::weak_ptr<const SolverOptions>;
26
28
29using GaussNewtonSolverOptions_p = ::std::shared_ptr<GaussNewtonSolverOptions>;
30using GaussNewtonSolverOptions_u = ::std::unique_ptr<GaussNewtonSolverOptions>;
31using GaussNewtonSolverOptions_w = ::std::weak_ptr<GaussNewtonSolverOptions>;
32using GaussNewtonSolverOptions_const_p = ::std::shared_ptr<const GaussNewtonSolverOptions>;
33using GaussNewtonSolverOptions_const_u = ::std::unique_ptr<const GaussNewtonSolverOptions>;
34using GaussNewtonSolverOptions_const_w = ::std::weak_ptr<const GaussNewtonSolverOptions>;
35
37
38using SparseGaussNewtonSolverOptions_p = ::std::shared_ptr<SparseGaussNewtonSolverOptions>;
39using SparseGaussNewtonSolverOptions_u = ::std::unique_ptr<SparseGaussNewtonSolverOptions>;
40using SparseGaussNewtonSolverOptions_w = ::std::weak_ptr<SparseGaussNewtonSolverOptions>;
42 ::std::shared_ptr<const SparseGaussNewtonSolverOptions>;
44 ::std::unique_ptr<const SparseGaussNewtonSolverOptions>;
46 ::std::weak_ptr<const SparseGaussNewtonSolverOptions>;
47
48template <typename T>
49class SolverT;
52
53using Solver_p = ::std::shared_ptr<Solver>;
54using Solver_u = ::std::unique_ptr<Solver>;
55using Solver_w = ::std::weak_ptr<Solver>;
56using Solver_const_p = ::std::shared_ptr<const Solver>;
57using Solver_const_u = ::std::unique_ptr<const Solver>;
58using Solver_const_w = ::std::weak_ptr<const Solver>;
59
60using Solverd_p = ::std::shared_ptr<Solverd>;
61using Solverd_u = ::std::unique_ptr<Solverd>;
62using Solverd_w = ::std::weak_ptr<Solverd>;
63using Solverd_const_p = ::std::shared_ptr<const Solverd>;
64using Solverd_const_u = ::std::unique_ptr<const Solverd>;
65using Solverd_const_w = ::std::weak_ptr<const Solverd>;
66
67template <typename T>
68class SolverFunctionT;
71
72using SolverFunction_p = ::std::shared_ptr<SolverFunction>;
73using SolverFunction_u = ::std::unique_ptr<SolverFunction>;
74using SolverFunction_w = ::std::weak_ptr<SolverFunction>;
75using SolverFunction_const_p = ::std::shared_ptr<const SolverFunction>;
76using SolverFunction_const_u = ::std::unique_ptr<const SolverFunction>;
77using SolverFunction_const_w = ::std::weak_ptr<const SolverFunction>;
78
79using SolverFunctiond_p = ::std::shared_ptr<SolverFunctiond>;
80using SolverFunctiond_u = ::std::unique_ptr<SolverFunctiond>;
81using SolverFunctiond_w = ::std::weak_ptr<SolverFunctiond>;
82using SolverFunctiond_const_p = ::std::shared_ptr<const SolverFunctiond>;
83using SolverFunctiond_const_u = ::std::unique_ptr<const SolverFunctiond>;
84using SolverFunctiond_const_w = ::std::weak_ptr<const SolverFunctiond>;
85
86template <typename T>
90
91using GaussNewtonSolver_p = ::std::shared_ptr<GaussNewtonSolver>;
92using GaussNewtonSolver_u = ::std::unique_ptr<GaussNewtonSolver>;
93using GaussNewtonSolver_w = ::std::weak_ptr<GaussNewtonSolver>;
94using GaussNewtonSolver_const_p = ::std::shared_ptr<const GaussNewtonSolver>;
95using GaussNewtonSolver_const_u = ::std::unique_ptr<const GaussNewtonSolver>;
96using GaussNewtonSolver_const_w = ::std::weak_ptr<const GaussNewtonSolver>;
97
98using GaussNewtonSolverd_p = ::std::shared_ptr<GaussNewtonSolverd>;
99using GaussNewtonSolverd_u = ::std::unique_ptr<GaussNewtonSolverd>;
100using GaussNewtonSolverd_w = ::std::weak_ptr<GaussNewtonSolverd>;
101using GaussNewtonSolverd_const_p = ::std::shared_ptr<const GaussNewtonSolverd>;
102using GaussNewtonSolverd_const_u = ::std::unique_ptr<const GaussNewtonSolverd>;
103using GaussNewtonSolverd_const_w = ::std::weak_ptr<const GaussNewtonSolverd>;
104
105template <typename T>
109
110using SparseGaussNewtonSolver_p = ::std::shared_ptr<SparseGaussNewtonSolver>;
111using SparseGaussNewtonSolver_u = ::std::unique_ptr<SparseGaussNewtonSolver>;
112using SparseGaussNewtonSolver_w = ::std::weak_ptr<SparseGaussNewtonSolver>;
113using SparseGaussNewtonSolver_const_p = ::std::shared_ptr<const SparseGaussNewtonSolver>;
114using SparseGaussNewtonSolver_const_u = ::std::unique_ptr<const SparseGaussNewtonSolver>;
115using SparseGaussNewtonSolver_const_w = ::std::weak_ptr<const SparseGaussNewtonSolver>;
116
117using SparseGaussNewtonSolverd_p = ::std::shared_ptr<SparseGaussNewtonSolverd>;
118using SparseGaussNewtonSolverd_u = ::std::unique_ptr<SparseGaussNewtonSolverd>;
119using SparseGaussNewtonSolverd_w = ::std::weak_ptr<SparseGaussNewtonSolverd>;
120using SparseGaussNewtonSolverd_const_p = ::std::shared_ptr<const SparseGaussNewtonSolverd>;
121using SparseGaussNewtonSolverd_const_u = ::std::unique_ptr<const SparseGaussNewtonSolverd>;
122using SparseGaussNewtonSolverd_const_w = ::std::weak_ptr<const SparseGaussNewtonSolverd>;
123
124template <typename T>
128
129using GradientDescentSolver_p = ::std::shared_ptr<GradientDescentSolver>;
130using GradientDescentSolver_u = ::std::unique_ptr<GradientDescentSolver>;
131using GradientDescentSolver_w = ::std::weak_ptr<GradientDescentSolver>;
132using GradientDescentSolver_const_p = ::std::shared_ptr<const GradientDescentSolver>;
133using GradientDescentSolver_const_u = ::std::unique_ptr<const GradientDescentSolver>;
134using GradientDescentSolver_const_w = ::std::weak_ptr<const GradientDescentSolver>;
135
136using GradientDescentSolverd_p = ::std::shared_ptr<GradientDescentSolverd>;
137using GradientDescentSolverd_u = ::std::unique_ptr<GradientDescentSolverd>;
138using GradientDescentSolverd_w = ::std::weak_ptr<GradientDescentSolverd>;
139using GradientDescentSolverd_const_p = ::std::shared_ptr<const GradientDescentSolverd>;
140using GradientDescentSolverd_const_u = ::std::unique_ptr<const GradientDescentSolverd>;
141using GradientDescentSolverd_const_w = ::std::weak_ptr<const GradientDescentSolverd>;
142
143template <typename T>
147
148using SubsetGaussNewtonSolver_p = ::std::shared_ptr<SubsetGaussNewtonSolver>;
149using SubsetGaussNewtonSolver_u = ::std::unique_ptr<SubsetGaussNewtonSolver>;
150using SubsetGaussNewtonSolver_w = ::std::weak_ptr<SubsetGaussNewtonSolver>;
151using SubsetGaussNewtonSolver_const_p = ::std::shared_ptr<const SubsetGaussNewtonSolver>;
152using SubsetGaussNewtonSolver_const_u = ::std::unique_ptr<const SubsetGaussNewtonSolver>;
153using SubsetGaussNewtonSolver_const_w = ::std::weak_ptr<const SubsetGaussNewtonSolver>;
154
155using SubsetGaussNewtonSolverd_p = ::std::shared_ptr<SubsetGaussNewtonSolverd>;
156using SubsetGaussNewtonSolverd_u = ::std::unique_ptr<SubsetGaussNewtonSolverd>;
157using SubsetGaussNewtonSolverd_w = ::std::weak_ptr<SubsetGaussNewtonSolverd>;
158using SubsetGaussNewtonSolverd_const_p = ::std::shared_ptr<const SubsetGaussNewtonSolverd>;
159using SubsetGaussNewtonSolverd_const_u = ::std::unique_ptr<const SubsetGaussNewtonSolverd>;
160using SubsetGaussNewtonSolverd_const_w = ::std::weak_ptr<const SubsetGaussNewtonSolverd>;
161
162} // namespace momentum
Dense implementation of the Gauss-Newton optimization algorithm.
First-order optimization algorithm that follows the negative gradient.
Abstract base class for optimization objective functions.
Base class for numerical optimization solvers.
Definition solver.h:41
Sparse implementation of the Gauss-Newton optimization algorithm.
Gauss-Newton solver that optimizes only a selected subset of parameters.
::std::weak_ptr< const GaussNewtonSolver > GaussNewtonSolver_const_w
Definition fwd.h:96
GaussNewtonSolverT< double > GaussNewtonSolverd
Definition fwd.h:89
::std::shared_ptr< const Solver > Solver_const_p
Definition fwd.h:56
GradientDescentSolverT< float > GradientDescentSolver
Definition fwd.h:126
::std::shared_ptr< GaussNewtonSolverOptions > GaussNewtonSolverOptions_p
Definition fwd.h:29
SparseGaussNewtonSolverT< double > SparseGaussNewtonSolverd
Definition fwd.h:108
::std::unique_ptr< GaussNewtonSolverOptions > GaussNewtonSolverOptions_u
Definition fwd.h:30
::std::shared_ptr< const SparseGaussNewtonSolverOptions > SparseGaussNewtonSolverOptions_const_p
Definition fwd.h:41
::std::weak_ptr< GaussNewtonSolver > GaussNewtonSolver_w
Definition fwd.h:93
::std::unique_ptr< const SolverFunction > SolverFunction_const_u
Definition fwd.h:76
::std::shared_ptr< SparseGaussNewtonSolver > SparseGaussNewtonSolver_p
Definition fwd.h:110
::std::weak_ptr< SolverOptions > SolverOptions_w
Definition fwd.h:22
::std::unique_ptr< Solver > Solver_u
Definition fwd.h:54
SubsetGaussNewtonSolverT< double > SubsetGaussNewtonSolverd
Definition fwd.h:146
::std::shared_ptr< const GaussNewtonSolverd > GaussNewtonSolverd_const_p
Definition fwd.h:101
::std::unique_ptr< GradientDescentSolver > GradientDescentSolver_u
Definition fwd.h:130
::std::unique_ptr< SubsetGaussNewtonSolverd > SubsetGaussNewtonSolverd_u
Definition fwd.h:156
::std::weak_ptr< GaussNewtonSolverOptions > GaussNewtonSolverOptions_w
Definition fwd.h:31
::std::shared_ptr< const SubsetGaussNewtonSolverd > SubsetGaussNewtonSolverd_const_p
Definition fwd.h:158
::std::unique_ptr< const SolverFunctiond > SolverFunctiond_const_u
Definition fwd.h:83
::std::weak_ptr< Solver > Solver_w
Definition fwd.h:55
::std::unique_ptr< SubsetGaussNewtonSolver > SubsetGaussNewtonSolver_u
Definition fwd.h:149
::std::unique_ptr< GradientDescentSolverd > GradientDescentSolverd_u
Definition fwd.h:137
SparseGaussNewtonSolverT< float > SparseGaussNewtonSolver
Definition fwd.h:107
SolverFunctionT< double > SolverFunctiond
Definition fwd.h:70
::std::shared_ptr< const GradientDescentSolverd > GradientDescentSolverd_const_p
Definition fwd.h:139
::std::shared_ptr< const GaussNewtonSolver > GaussNewtonSolver_const_p
Definition fwd.h:94
::std::weak_ptr< Solverd > Solverd_w
Definition fwd.h:62
::std::weak_ptr< SparseGaussNewtonSolverd > SparseGaussNewtonSolverd_w
Definition fwd.h:119
::std::weak_ptr< GradientDescentSolverd > GradientDescentSolverd_w
Definition fwd.h:138
::std::unique_ptr< const SparseGaussNewtonSolver > SparseGaussNewtonSolver_const_u
Definition fwd.h:114
::std::weak_ptr< const SolverFunction > SolverFunction_const_w
Definition fwd.h:77
::std::weak_ptr< SubsetGaussNewtonSolverd > SubsetGaussNewtonSolverd_w
Definition fwd.h:157
::std::weak_ptr< SparseGaussNewtonSolverOptions > SparseGaussNewtonSolverOptions_w
Definition fwd.h:40
::std::shared_ptr< Solver > Solver_p
Definition fwd.h:53
::std::weak_ptr< const GaussNewtonSolverOptions > GaussNewtonSolverOptions_const_w
Definition fwd.h:34
::std::weak_ptr< SolverFunctiond > SolverFunctiond_w
Definition fwd.h:81
::std::unique_ptr< const SubsetGaussNewtonSolver > SubsetGaussNewtonSolver_const_u
Definition fwd.h:152
::std::weak_ptr< const GaussNewtonSolverd > GaussNewtonSolverd_const_w
Definition fwd.h:103
::std::shared_ptr< SubsetGaussNewtonSolverd > SubsetGaussNewtonSolverd_p
Definition fwd.h:155
::std::weak_ptr< const SparseGaussNewtonSolverd > SparseGaussNewtonSolverd_const_w
Definition fwd.h:122
GradientDescentSolverT< double > GradientDescentSolverd
Definition fwd.h:127
::std::shared_ptr< GradientDescentSolverd > GradientDescentSolverd_p
Definition fwd.h:136
::std::unique_ptr< const GaussNewtonSolverOptions > GaussNewtonSolverOptions_const_u
Definition fwd.h:33
::std::weak_ptr< SubsetGaussNewtonSolver > SubsetGaussNewtonSolver_w
Definition fwd.h:150
::std::unique_ptr< const GradientDescentSolver > GradientDescentSolver_const_u
Definition fwd.h:133
::std::unique_ptr< SolverFunctiond > SolverFunctiond_u
Definition fwd.h:80
::std::unique_ptr< GaussNewtonSolver > GaussNewtonSolver_u
Definition fwd.h:92
::std::shared_ptr< const Solverd > Solverd_const_p
Definition fwd.h:63
::std::weak_ptr< const SubsetGaussNewtonSolverd > SubsetGaussNewtonSolverd_const_w
Definition fwd.h:160
::std::weak_ptr< const SubsetGaussNewtonSolver > SubsetGaussNewtonSolver_const_w
Definition fwd.h:153
::std::unique_ptr< const GaussNewtonSolverd > GaussNewtonSolverd_const_u
Definition fwd.h:102
::std::weak_ptr< SparseGaussNewtonSolver > SparseGaussNewtonSolver_w
Definition fwd.h:112
::std::shared_ptr< SparseGaussNewtonSolverOptions > SparseGaussNewtonSolverOptions_p
Definition fwd.h:38
::std::unique_ptr< SparseGaussNewtonSolver > SparseGaussNewtonSolver_u
Definition fwd.h:111
::std::shared_ptr< SolverFunctiond > SolverFunctiond_p
Definition fwd.h:79
::std::unique_ptr< SparseGaussNewtonSolverOptions > SparseGaussNewtonSolverOptions_u
Definition fwd.h:39
SubsetGaussNewtonSolverT< float > SubsetGaussNewtonSolver
Definition fwd.h:145
::std::shared_ptr< SubsetGaussNewtonSolver > SubsetGaussNewtonSolver_p
Definition fwd.h:148
::std::unique_ptr< SolverOptions > SolverOptions_u
Definition fwd.h:21
::std::weak_ptr< GaussNewtonSolverd > GaussNewtonSolverd_w
Definition fwd.h:100
::std::weak_ptr< const GradientDescentSolverd > GradientDescentSolverd_const_w
Definition fwd.h:141
::std::shared_ptr< GradientDescentSolver > GradientDescentSolver_p
Definition fwd.h:129
::std::shared_ptr< GaussNewtonSolverd > GaussNewtonSolverd_p
Definition fwd.h:98
::std::weak_ptr< const GradientDescentSolver > GradientDescentSolver_const_w
Definition fwd.h:134
::std::weak_ptr< const SolverFunctiond > SolverFunctiond_const_w
Definition fwd.h:84
::std::weak_ptr< const SparseGaussNewtonSolverOptions > SparseGaussNewtonSolverOptions_const_w
Definition fwd.h:45
::std::weak_ptr< const SolverOptions > SolverOptions_const_w
Definition fwd.h:25
::std::unique_ptr< const GradientDescentSolverd > GradientDescentSolverd_const_u
Definition fwd.h:140
::std::shared_ptr< Solverd > Solverd_p
Definition fwd.h:60
::std::unique_ptr< const Solver > Solver_const_u
Definition fwd.h:57
SolverT< float > Solver
Definition fwd.h:50
::std::unique_ptr< const SparseGaussNewtonSolverOptions > SparseGaussNewtonSolverOptions_const_u
Definition fwd.h:43
::std::unique_ptr< const SolverOptions > SolverOptions_const_u
Definition fwd.h:24
::std::weak_ptr< SolverFunction > SolverFunction_w
Definition fwd.h:74
::std::shared_ptr< SparseGaussNewtonSolverd > SparseGaussNewtonSolverd_p
Definition fwd.h:117
::std::weak_ptr< const SparseGaussNewtonSolver > SparseGaussNewtonSolver_const_w
Definition fwd.h:115
::std::unique_ptr< const Solverd > Solverd_const_u
Definition fwd.h:64
::std::shared_ptr< GaussNewtonSolver > GaussNewtonSolver_p
Definition fwd.h:91
SolverT< double > Solverd
Definition fwd.h:51
::std::shared_ptr< const SolverOptions > SolverOptions_const_p
Definition fwd.h:23
::std::weak_ptr< GradientDescentSolver > GradientDescentSolver_w
Definition fwd.h:131
::std::unique_ptr< Solverd > Solverd_u
Definition fwd.h:61
::std::unique_ptr< GaussNewtonSolverd > GaussNewtonSolverd_u
Definition fwd.h:99
::std::shared_ptr< const SolverFunction > SolverFunction_const_p
Definition fwd.h:75
::std::unique_ptr< const SubsetGaussNewtonSolverd > SubsetGaussNewtonSolverd_const_u
Definition fwd.h:159
::std::shared_ptr< const SparseGaussNewtonSolver > SparseGaussNewtonSolver_const_p
Definition fwd.h:113
::std::shared_ptr< const GaussNewtonSolverOptions > GaussNewtonSolverOptions_const_p
Definition fwd.h:32
::std::unique_ptr< const SparseGaussNewtonSolverd > SparseGaussNewtonSolverd_const_u
Definition fwd.h:121
GaussNewtonSolverT< float > GaussNewtonSolver
Definition fwd.h:88
::std::unique_ptr< SparseGaussNewtonSolverd > SparseGaussNewtonSolverd_u
Definition fwd.h:118
::std::shared_ptr< const SolverFunctiond > SolverFunctiond_const_p
Definition fwd.h:82
::std::shared_ptr< const SparseGaussNewtonSolverd > SparseGaussNewtonSolverd_const_p
Definition fwd.h:120
SolverFunctionT< float > SolverFunction
Definition fwd.h:69
::std::shared_ptr< SolverFunction > SolverFunction_p
Definition fwd.h:72
::std::shared_ptr< const GradientDescentSolver > GradientDescentSolver_const_p
Definition fwd.h:132
::std::weak_ptr< const Solverd > Solverd_const_w
Definition fwd.h:65
::std::unique_ptr< SolverFunction > SolverFunction_u
Definition fwd.h:73
::std::shared_ptr< SolverOptions > SolverOptions_p
Definition fwd.h:20
::std::weak_ptr< const Solver > Solver_const_w
Definition fwd.h:58
::std::shared_ptr< const SubsetGaussNewtonSolver > SubsetGaussNewtonSolver_const_p
Definition fwd.h:151
::std::unique_ptr< const GaussNewtonSolver > GaussNewtonSolver_const_u
Definition fwd.h:95
Extended options specific to the Gauss-Newton optimization algorithm.
Common options for numerical optimization solvers.
Definition solver.h:19
Extended options specific to the sparse Gauss-Newton optimization algorithm.