funcy
1.6.1
|
Identity mapping \( f(x)=x \). More...
#include <identity.h>
Public Member Functions | |
Identity ()=default | |
Default constructor. | |
Identity (const Arg &x) noexcept(std::is_copy_constructible_v< Arg >) | |
Constructor. More... | |
Identity (Arg &&x) noexcept(std::is_move_constructible_v< Arg >) | |
Constructor. More... | |
void | update (const Arg &x) |
Reset point of evaluation. | |
const Arg & | d0 () const noexcept |
Function value. | |
template<int > | |
const Arg & | d1 (const Arg &dx) const noexcept |
First directional derivative. | |
Identity mapping \( f(x)=x \).
|
inlinenoexcept |
Constructor.
x | point of evaluation. |
|
inlinenoexcept |
Constructor.
x | point of evaluation. |