Sleipnir C++ API
Loading...
Searching...
No Matches
Newton.hpp
Go to the documentation of this file.
1
// Copyright (c) Sleipnir contributors
2
3
#pragma once
4
5
#include <span>
6
7
#include <Eigen/Core>
8
9
#include "
sleipnir/autodiff/Variable.hpp
"
10
#include "
sleipnir/optimization/SolverConfig.hpp
"
11
#include "
sleipnir/optimization/SolverIterationInfo.hpp
"
12
#include "
sleipnir/optimization/SolverStatus.hpp
"
13
#include "
sleipnir/util/FunctionRef.hpp
"
14
#include "
sleipnir/util/SymbolExports.hpp
"
15
16
namespace
sleipnir
{
17
37
SLEIPNIR_DLLEXPORT
void
Newton
(
38
std::span<Variable>
decisionVariables
,
Variable
&
f
,
39
function_ref
<
bool
(
const
SolverIterationInfo
&
info
)>
callback
,
40
const
SolverConfig
&
config
, Eigen::VectorXd& x,
SolverStatus
* status);
41
42
}
// namespace sleipnir
FunctionRef.hpp
SolverConfig.hpp
SolverIterationInfo.hpp
SolverStatus.hpp
SymbolExports.hpp
SLEIPNIR_DLLEXPORT
#define SLEIPNIR_DLLEXPORT
Definition
SymbolExports.hpp:34
Variable.hpp
sleipnir::Variable
Definition
Variable.hpp:33
sleipnir::function_ref
Definition
FunctionRef.hpp:17
sleipnir
Definition
Expression.hpp:18
sleipnir::AllocateIntrusiveShared
IntrusiveSharedPtr< T > AllocateIntrusiveShared(Alloc alloc, Args &&... args)
Definition
IntrusiveSharedPtr.hpp:275
sleipnir::Newton
SLEIPNIR_DLLEXPORT void Newton(std::span< Variable > decisionVariables, Variable &f, function_ref< bool(const SolverIterationInfo &info)> callback, const SolverConfig &config, Eigen::VectorXd &x, SolverStatus *status)
sleipnir::SolverConfig
Definition
SolverConfig.hpp:15
sleipnir::SolverIterationInfo
Definition
SolverIterationInfo.hpp:13
sleipnir::SolverStatus
Definition
SolverStatus.hpp:15
include
sleipnir
optimization
solver
Newton.hpp
Generated on Sat Jan 18 2025 01:59:58 for Sleipnir C++ API by
1.9.8