2018-12-03 03:17:06 +00:00
|
|
|
namespace DB
|
|
|
|
{
|
2019-12-29 01:13:17 +00:00
|
|
|
|
|
|
|
class FunctionFactory;
|
|
|
|
|
|
|
|
void registerFunctionE(FunctionFactory & factory);
|
|
|
|
void registerFunctionPi(FunctionFactory & factory);
|
|
|
|
void registerFunctionExp(FunctionFactory & factory);
|
|
|
|
void registerFunctionLog(FunctionFactory & factory);
|
|
|
|
void registerFunctionExp2(FunctionFactory & factory);
|
|
|
|
void registerFunctionLog2(FunctionFactory & factory);
|
|
|
|
void registerFunctionExp10(FunctionFactory & factory);
|
|
|
|
void registerFunctionLog10(FunctionFactory & factory);
|
|
|
|
void registerFunctionSqrt(FunctionFactory & factory);
|
|
|
|
void registerFunctionCbrt(FunctionFactory & factory);
|
|
|
|
void registerFunctionErf(FunctionFactory & factory);
|
|
|
|
void registerFunctionErfc(FunctionFactory & factory);
|
|
|
|
void registerFunctionLGamma(FunctionFactory & factory);
|
|
|
|
void registerFunctionTGamma(FunctionFactory & factory);
|
|
|
|
void registerFunctionSin(FunctionFactory & factory);
|
|
|
|
void registerFunctionCos(FunctionFactory & factory);
|
|
|
|
void registerFunctionTan(FunctionFactory & factory);
|
|
|
|
void registerFunctionAsin(FunctionFactory & factory);
|
|
|
|
void registerFunctionAcos(FunctionFactory & factory);
|
|
|
|
void registerFunctionAtan(FunctionFactory & factory);
|
|
|
|
void registerFunctionSigmoid(FunctionFactory & factory);
|
|
|
|
void registerFunctionTanh(FunctionFactory & factory);
|
|
|
|
void registerFunctionPow(FunctionFactory & factory);
|
|
|
|
|
|
|
|
|
2018-12-03 03:17:06 +00:00
|
|
|
void registerFunctionsMath(FunctionFactory & factory)
|
|
|
|
{
|
|
|
|
registerFunctionE(factory);
|
|
|
|
registerFunctionPi(factory);
|
|
|
|
registerFunctionExp(factory);
|
|
|
|
registerFunctionLog(factory);
|
|
|
|
registerFunctionExp2(factory);
|
|
|
|
registerFunctionLog2(factory);
|
|
|
|
registerFunctionExp10(factory);
|
|
|
|
registerFunctionLog10(factory);
|
|
|
|
registerFunctionSqrt(factory);
|
|
|
|
registerFunctionCbrt(factory);
|
|
|
|
registerFunctionErf(factory);
|
|
|
|
registerFunctionErfc(factory);
|
|
|
|
registerFunctionLGamma(factory);
|
|
|
|
registerFunctionTGamma(factory);
|
|
|
|
registerFunctionSin(factory);
|
|
|
|
registerFunctionCos(factory);
|
|
|
|
registerFunctionTan(factory);
|
|
|
|
registerFunctionAsin(factory);
|
|
|
|
registerFunctionAcos(factory);
|
|
|
|
registerFunctionAtan(factory);
|
2019-08-01 00:29:32 +00:00
|
|
|
registerFunctionSigmoid(factory);
|
|
|
|
registerFunctionTanh(factory);
|
2018-12-03 03:17:06 +00:00
|
|
|
registerFunctionPow(factory);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|