We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1cb01b commit 0d601ffCopy full SHA for 0d601ff
include/aligator/modelling/costs/log-residual-cost.hpp
@@ -5,8 +5,20 @@
5
#include "./composite-costs.hpp"
6
7
namespace aligator {
8
-
9
-/// @brief Log-barrier of an underlying cost function.
+/**
+ * @brief Log-barrier of an underlying cost function.
10
+ *
11
+ * @details Defined as :
12
+ * \f[
13
+ * c(x,u) = -w\ln(r(x,u))
14
+ * \f]
15
16
+ * where :
17
+ * -\f(\ c(x,u) \f) is the resulting cost
18
+ * -\f(\ r(x,u) \f) is the input function
19
+ * -\f(\ w \f) is the input scale
20
21
+ */
22
template <typename Scalar> struct LogResidualCostTpl : CostAbstractTpl<Scalar> {
23
ALIGATOR_DYNAMIC_TYPEDEFS(Scalar);
24
using CostDataAbstract = CostDataAbstractTpl<Scalar>;
0 commit comments