ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ErrorFunction.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 // Local
11 #include "CVCoreLib.h"
12 #include "MathTools.h"
13 
14 namespace cloudViewer {
15 
17 
21 static const double c_erfRelativeError = 1e-12;
22 
24 
29 public:
31 
37  static double erfc(double x);
38 
40 
46  static double erf(double x);
47 };
48 
49 } // namespace cloudViewer
#define CV_CORE_LIB_API
Definition: CVCoreLibWin.h:15
A class to compute the Error function (erf)
Definition: ErrorFunction.h:28
Empty class - for classification purpose only.
Definition: MathTools.h:15
Generic file read and write utility for python interface.
static const double c_erfRelativeError
Relative error for Error Function computation.
Definition: ErrorFunction.h:21