1#include <Functions/FunctionMathUnary.h>
2#include <Functions/FunctionFactory.h>
3
4namespace DB
5{
6
7struct ErfName { static constexpr auto name = "erf"; };
8using FunctionErf = FunctionMathUnary<UnaryFunctionPlain<ErfName, std::erf>>;
9
10void registerFunctionErf(FunctionFactory & factory)
11{
12 factory.registerFunction<FunctionErf>();
13}
14
15}
16