22 #error "This file must not be included by compiled programs."
25#include <plugins/include/clad/Differentiator/Differentiator.h>
31 return (
d < 0) ? -1 : 1;
81 return 1. / (
d *
d + 1);
86 return -2. *
d / ((
d *
d + 1) * (
d *
d + 1));
91 return 1. / (1 -
d *
d);
96 return 2. *
d / ((1 -
d *
d) * (1 -
d *
d));
104 template <
typename T>
109 template <
typename T>
115 template <
typename T>
120 template <
typename T>
125 template <
typename T>
130 template <
typename T>
135 template <
typename T>
140 template <
typename T>
145 template <
typename T>
150 template <
typename T>
155 template <
typename T>
160 template <
typename T>
165 template <
typename T>
170 template <
typename T>
175 template <
typename T>
180 template <
typename T>
187 template <
typename T>
194 template <
typename T>
201 template <
typename T>
206 template <
typename T>
208 return -1. / (
d *
d);
211 template <
typename T>
216 template <
typename T>
221 template <
typename T>
226 template <
typename T>
231 template <
typename T>
233 return (
a >=
b) ? 1 : 0;
236 template <
typename T>
241 template <
typename T>
246 template <
typename T>
248 return (
a >=
b) ? 0 : 1;
251 template <
typename T>
256 template <
typename T>
261 template <
typename T>
269 template <
typename T>
274 template <
typename T>
279 template <
typename T>
281 return (
a <=
b) ? 1 : 0;
284 template <
typename T>
289 template <
typename T>
294 template <
typename T>
296 return (
a <=
b) ? 0 : 1;
299 template <
typename T>
304 template <
typename T>
309 template <
typename T>
317 template <
typename T>
322 template <
typename T>
327 template <
typename T>
332 template <
typename T>
337 template <
typename T>
342 template <
typename T>
347 template <
typename T>
352 template <
typename T>
357 template <
typename T>
364 template <
typename T>
367 result[0] +=
y * (
y - 1) * t;
371 template <
typename T>
378 template <
typename T>
383 template <
typename T>
388 template <
typename T>
393 template <
typename T>
398 template <
typename T>
403 template <
typename T>
408 template <
typename T>
413 template <
typename T>
418 template <
typename T>
423 template <
typename T>
428 template <
typename T>
433 template <
typename T>
Double_t Sqrt(Double_t x)
LongDouble_t Power(LongDouble_t x, LongDouble_t y)
constexpr Double_t Ln10()
Natural log of 10 (to convert log to ln)
Double_t Hypot(Double_t x, Double_t y)
T Max_darg1_darg1(T a, T b)
Double_t Power_darg0_grad(T x, T y, Double_t *result)
Double_t Erfc_darg0_darg0(T d)
Double_t ASinH_darg0_darg0(T d)
Double_t ATan_darg0_darg0(T d)
Double_t Sqrt_darg0_darg0(T d)
Double_t ACosH_darg0(T d)
void Hypot_darg0_grad(T x, T y, T *result)
Double_t Log10_darg0(T d)
T Power_darg0_darg0(T x, T y)
void Min_grad(T a, T b, T *result)
T Min_darg1_darg0(T a, T b)
Double_t Power_grad(T x, T y, Double_t *result)
T Min_darg0_darg0(T a, T b)
Double_t Log_darg0_darg0(T d)
T Hypot_darg0_darg1(T x, T y)
Double_t Tan_darg0_darg0(T d)
Double_t TanH_darg0_darg0(T d)
T Hypot_darg0_darg0(T x, T y)
T Max_darg1_darg0(T a, T b)
void Hypot_grad(T x, T y, T *result)
T Max_darg0_darg1(T a, T b)
void Max_darg1_grad(T a, T b, T *result)
Double_t ACosH_darg0_darg0(T d)
Double_t ATanH_darg0_darg0(T d)
void Min_darg1_grad(T a, T b, T *result)
Double_t Erf_darg0_darg0(T d)
Double_t Log2_darg0_darg0(T d)
Double_t Power_darg1_darg0(T x, T y)
void Max_grad(T a, T b, T *result)
Double_t Power_darg1_darg1(T x, T y)
Double_t Exp_darg0_darg0(T d)
void Max_darg0_grad(T a, T b, T *result)
Double_t ASinH_darg0(T d)
Double_t Log10_darg0_darg0(T d)
Double_t ACos_darg0_darg0(T d)
T Hypot_darg1_darg0(T x, T y)
Double_t SinH_darg0_darg0(T d)
Double_t Power_darg1_grad(T x, T y, Double_t *result)
Double_t Power_darg0_darg1(T x, T y)
Double_t ATanH_darg0(T d)
Double_t ASin_darg0_darg0(T d)
void Min_darg0_grad(T a, T b, T *result)
T Min_darg1_darg1(T a, T b)
Double_t Sin_darg0_darg0(T d)
T Min_darg0_darg1(T a, T b)
T Hypot_darg1_darg1(T x, T y)
T Max_darg0_darg0(T a, T b)
Double_t Power_darg1(T x, T y)
void Hypot_darg1_grad(T x, T y, T *result)