The Quadratic function, defined by.
More...
|
static double | Deriv (const double y) |
| Computes the first derivative of the Quadratic function. More...
|
|
template |
static void | Deriv (const InputVecType &x, OutputVecType &y) |
| Computes the first derivatives of the Quadratic function. More...
|
|
static double | Fn (const double x) |
| Computes the Quadratic function. More...
|
|
template |
static void | Fn (const InputVecType &x, OutputVecType &y) |
| Computes the Quadratic function. More...
|
|
The Quadratic function, defined by.
Definition at line 28 of file quadratic_function.hpp.
◆ Deriv() [1/2]
static double Deriv |
( |
const double |
y | ) |
|
|
inlinestatic |
Computes the first derivative of the Quadratic function.
- Parameters
-
- Returns
- f'(x)
Definition at line 60 of file quadratic_function.hpp.
◆ Deriv() [2/2]
static void Deriv |
( |
const InputVecType & |
x, |
|
|
OutputVecType & |
y |
|
) |
| |
|
inlinestatic |
Computes the first derivatives of the Quadratic function.
- Parameters
-
y | Input data. |
x | The resulting derivatives. |
Definition at line 72 of file quadratic_function.hpp.
◆ Fn() [1/2]
static double Fn |
( |
const double |
x | ) |
|
|
inlinestatic |
◆ Fn() [2/2]
static void Fn |
( |
const InputVecType & |
x, |
|
|
OutputVecType & |
y |
|
) |
| |
|
inlinestatic |
Computes the Quadratic function.
- Parameters
-
x | Input data. |
y | The resulting output activation. |
Definition at line 49 of file quadratic_function.hpp.
The documentation for this class was generated from the following file:
- /home/jenkins-mlpack/mlpack.org/_src/mlpack-3.4.2/src/mlpack/methods/ann/activation_functions/quadratic_function.hpp