NeuralEngine A Game Engine with embeded Machine Learning algorithms based on Gaussian Processes. |

FgGaussHermiteQuadrature.h
1
11#pragma once
12
13#include <NeMachineLearningLib.h>
14#include <MachineLearning/CommonUtil.h>
15
16 namespace NeuralEngine
17{
18 namespace MachineLearning
19 {
20 template<typename Scalar>
21
47 class NE_IMPEXP GaussHermiteQuadrature
48 {
49 public:
50
63 static void Compute(int n, af::array& x, af::array& w);
64
65 private:
66
76 static af::array HermCompanion(const af::array& c);
77
93 static af::array NormedHermite(const af::array& x, int n);
94 };
95 }
96}
NeuralEngine::MachineLearning::GaussHermiteQuadrature
Gauss-Hermite Quadrature.
Definition: FgGaussHermiteQuadrature.h:48
NeuralEngine::MachineLearning::GaussHermiteQuadrature::NormedHermite
static af::array NormedHermite(const af::array &x, int n)
Evaluate a normalized Hermite polynomial..
NeuralEngine::MachineLearning::GaussHermiteQuadrature::HermCompanion
static af::array HermCompanion(const af::array &c)
Return the scaled companion matrix of c.
NeuralEngine::MachineLearning::GaussHermiteQuadrature::Compute
static void Compute(int n, af::array &x, af::array &w)
Data direct.
NeuralEngine
Definition: NeArray2.h:18