Home
last modified time | relevance | path

Searched refs:KernelBase (Results 1 – 25 of 88) sorted by relevance

1234

/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/muq2/modules/Approximation/python/wrappers/
H A DKernelWrapper.cpp32 py::class_<KernelBase, in KernelWrapper()
38 .def("Evaluate", &KernelBase::Evaluate) in KernelWrapper()
58 .def("GetParams", &KernelBase::GetParams) in KernelWrapper()
59 .def("SetParams", &KernelBase::SetParams) in KernelWrapper()
60 .def("Clone", &KernelBase::Clone) in KernelWrapper()
64 .def_readonly("coDim", &KernelBase::coDim) in KernelWrapper()
67 .def("FillBlock", &KernelBase::FillBlock) in KernelWrapper()
68 ….def("__mul__", [](std::shared_ptr<KernelBase> a, std::shared_ptr<KernelBase> b) {return a * b;}, … in KernelWrapper()
69 ….def("__add__", [](std::shared_ptr<KernelBase> a, std::shared_ptr<KernelBase> b) {return a + b;}, … in KernelWrapper()
171 .def(py::init<std::shared_ptr<KernelBase>, std::shared_ptr<KernelBase>>()) in KernelWrapper()
[all …]
H A DGaussianWrapper.cpp28 .def(py::init<MeanFunctionBase&, KernelBase&>()) in GaussianWrapper()
29 .def(py::init<std::shared_ptr<MeanFunctionBase>, std::shared_ptr<KernelBase>>()) in GaussianWrapper()
144 .def(py::init<MeanFunctionBase&, KernelBase&>()) in GaussianWrapper()
145 .def(py::init<MeanFunctionBase&, KernelBase&, boost::property_tree::ptree>()) in GaussianWrapper()
146 .def(py::init<std::shared_ptr<MeanFunctionBase>, std::shared_ptr<KernelBase>>()) in GaussianWrapper()
147 .def(py::init<std::shared_ptr<MeanFunctionBase>, std::shared_ptr<KernelBase>, in GaussianWrapper()
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/muq2/MUQ/Approximation/GaussianProcesses/
H A DSumKernel.h21 class SumKernel : public KernelBase
25 SumKernel(std::shared_ptr<KernelBase> kernel1In,
26 std::shared_ptr<KernelBase> kernel2In);
30 …virtual std::shared_ptr<KernelBase> Clone() const override{return std::make_shared<SumKernel>(kern… in Clone()
48 std::shared_ptr<KernelBase> kernel1;
49 std::shared_ptr<KernelBase> kernel2;
53 …ame = typename std::enable_if<std::is_base_of<KernelBase, KernelType1>::value && std::is_base_of<K…
59 std::shared_ptr<SumKernel> operator+(std::shared_ptr<KernelBase> k1, std::shared_ptr<KernelBase> k2…
H A DConcatenateKernel.h21 class ConcatenateKernel : public KernelBase
26 ConcatenateKernel(std::shared_ptr<KernelBase> const& kernel1In, in ConcatenateKernel()
27 …std::shared_ptr<KernelBase> const& kernel2In) : ConcatenateKernel(std::vector<std::shared_ptr<Kern… in ConcatenateKernel()
29 ConcatenateKernel(std::vector<std::shared_ptr<KernelBase>> const& kernelsIn);
33 …virtual std::shared_ptr<KernelBase> Clone() const override{return std::make_shared<ConcatenateKern… in Clone()
72 static unsigned int CountCoDims(std::vector<std::shared_ptr<KernelBase>> kernels);
73 static unsigned int CountParams(std::vector<std::shared_ptr<KernelBase>> kernels);
75 std::vector<std::shared_ptr<KernelBase>> kernels;
H A DProductKernel.h32 class ProductKernel : public KernelBase
36 ProductKernel(std::shared_ptr<KernelBase> kernel1In,
37 std::shared_ptr<KernelBase> kernel2In);
89 …virtual std::shared_ptr<KernelBase> Clone() const override{return std::make_shared<ProductKernel>(… in Clone()
130 virtual std::vector<std::shared_ptr<KernelBase>> GetSeperableComponents() override;
135 std::shared_ptr<KernelBase> kernel1;
136 std::shared_ptr<KernelBase> kernel2;
139 … std::shared_ptr<KernelBase> const& kernel2,
147 …ame = typename std::enable_if<std::is_base_of<KernelBase, KernelType1>::value && std::is_base_of<K…
153 std::shared_ptr<ProductKernel> operator*(std::shared_ptr<KernelBase> k1, std::shared_ptr<KernelBase
H A DObservationInformation.h34 virtual void FillSelfCov(std::shared_ptr<KernelBase> kernel,
38 std::shared_ptr<KernelBase> kernel,
42 std::shared_ptr<KernelBase> kernel,
59 … std::shared_ptr<KernelBase> kernel);
61 … virtual Eigen::MatrixXd BuildBaseCovariance(std::shared_ptr<KernelBase> kernel);
64 … std::shared_ptr<KernelBase> kernel);
102 … std::shared_ptr<KernelBase> kernel) override;
104 …virtual Eigen::MatrixXd BuildBaseCovariance(std::shared_ptr<KernelBase> kernel) overr…
107 … std::shared_ptr<KernelBase> kernel) override;
H A DKernelBase.h37 class KernelBase : public std::enable_shared_from_this<muq::Approximation::KernelBase>
42 KernelBase(unsigned int inputDimIn, in KernelBase() function
44 … unsigned int numParamsIn) : KernelBase(inputDimIn, BuildDimInds(inputDimIn), coDimIn, numParamsIn) in KernelBase()
47 KernelBase(unsigned int inputDimIn, in KernelBase() function
57 virtual ~KernelBase(){}; in ~KernelBase()
65 …rtual std::vector<std::shared_ptr<KernelBase>> GetSeperableComponents() {return std::vector<std::s… in GetSeperableComponents()
115 virtual std::shared_ptr<KernelBase> Clone() const = 0;
H A DKarhunenLoeveFactory.h26 KarhunenLoeveFactory(std::shared_ptr<KernelBase> kernelIn);
37 std::shared_ptr<KernelBase> kernel;
40 std::vector<std::shared_ptr<KernelBase>> kernelParts;
47 …static std::vector<std::shared_ptr<KernelBase>> SeparateKernel(std::shared_ptr<KernelBase> kernel);
H A DLinearTransformKernel.h22 class LinearTransformKernel : public KernelBase
29 … std::shared_ptr<KernelBase> Kin) : KernelBase(Kin->inputDim, Ain.rows(), Kin->numParams), in LinearTransformKernel()
60 …virtual std::shared_ptr<KernelBase> Clone() const override{return std::make_shared<LinearTransform… in Clone()
64 std::shared_ptr<KernelBase> K;
76 typename = typename std::enable_if<std::is_base_of<KernelBase, KernelType>::value>::type>
H A DStateSpaceGP.h24 KernelBase& kernelIn,
28 std::shared_ptr<KernelBase> covKernelIn,
67 std::shared_ptr<KernelBase> covKernelIn);
86 std::shared_ptr<KernelBase> covKernel;
/dports/graphics/blender/blender-2.91.0/extern/mantaflow/preprocessed/
H A Dvortexpart.cpp63 struct _KnVpAdvectMesh : public KernelBase {
64 _KnVpAdvectMesh(const KernelBase &base, in _KnVpAdvectMesh()
97 struct KnVpAdvectMesh : public KernelBase {
99 : KernelBase(nodes.size()), in KnVpAdvectMesh()
100 _inner(KernelBase(nodes.size()), nodes, vp, scale, u), in KnVpAdvectMesh()
150 struct _KnVpAdvectSelf : public KernelBase {
151 _KnVpAdvectSelf(const KernelBase &base, in _KnVpAdvectSelf()
155 : KernelBase(base), vp(vp), scale(scale), u(u) in _KnVpAdvectSelf()
178 struct KnVpAdvectSelf : public KernelBase {
180 : KernelBase(vp.size()), in KnVpAdvectSelf()
[all …]
H A Dkernel.cpp26 KernelBase::KernelBase(const GridBase *base, int bnd) in KernelBase() function in Manta::KernelBase
41 KernelBase::KernelBase(IndexInt num) in KernelBase() function in Manta::KernelBase
46 KernelBase::KernelBase(const Grid4dBase *base, int bnd) in KernelBase() function in Manta::KernelBase
H A Dparticle.cpp447 : KernelBase(me.size()), me(me), other(other) in knPdataAdd()
864 : KernelBase(me.size()), me(me), vmin(vmin) in knPdataClampMin()
904 : KernelBase(me.size()), me(me), vmax(vmax) in knPdataClampMax()
943 struct knPdataClampMinVec3 : public KernelBase {
945 : KernelBase(me.size()), me(me), vmin(vmin) in knPdataClampMinVec3()
986 struct knPdataClampMaxVec3 : public KernelBase {
988 : KernelBase(me.size()), me(me), vmax(vmax) in knPdataClampMaxVec3()
1364 struct CompPdata_Min : public KernelBase {
1419 struct CompPdata_Max : public KernelBase {
1516 struct CompPdata_MinVec3 : public KernelBase {
[all …]
H A Dtest.cpp30 struct reductionTest : public KernelBase {
31 reductionTest(const Grid<Real> &v) : KernelBase(&v, 0), v(v), sum(0) in reductionTest()
69 reductionTest(reductionTest &o, tbb::split) : KernelBase(o), v(o.v), sum(0) in reductionTest()
80 struct minReduction : public KernelBase {
81 minReduction(const Grid<Real> &v) : KernelBase(&v, 0), v(v), sum(0) in minReduction()
120 minReduction(minReduction &o, tbb::split) : KernelBase(o), v(o.v), sum(0) in minReduction()
H A Dcommonkernels.h30 struct InvertCheckFluid : public KernelBase {
74 struct GridSumSqr : public KernelBase {
126 struct CurlOp : public KernelBase {
255 struct GradientOpMAC : public KernelBase {
317 struct GradientOp : public KernelBase {
379 struct LaplaceOp : public KernelBase {
440 struct CurvatureOp : public KernelBase {
598 struct GetComponent : public KernelBase {
647 struct GridNorm : public KernelBase {
738 struct GetCentered : public KernelBase {
[all …]
H A Dmesh.cpp347 struct _KnAdvectMeshInGrid : public KernelBase {
348 _KnAdvectMeshInGrid(const KernelBase &base, in _KnAdvectMeshInGrid()
386 struct KnAdvectMeshInGrid : public KernelBase {
388 : KernelBase(nodes.size()), in KnAdvectMeshInGrid()
2044 struct knMdataClampMinVec3 : public KernelBase {
2046 : KernelBase(me.size()), me(me), vmin(vmin) in knMdataClampMinVec3()
2086 struct knMdataClampMaxVec3 : public KernelBase {
2457 struct CompMdata_Min : public KernelBase {
2512 struct CompMdata_Max : public KernelBase {
2609 struct CompMdata_MinVec3 : public KernelBase {
[all …]
H A Dgrid.cpp178 struct CompMinReal : public KernelBase {
233 struct CompMaxReal : public KernelBase {
288 struct CompMinInt : public KernelBase {
343 struct CompMaxInt : public KernelBase {
398 struct CompMinVec : public KernelBase {
454 struct CompMaxVec : public KernelBase {
860 struct knJoinVec : public KernelBase {
908 struct knJoinInt : public KernelBase {
954 struct knJoinReal : public KernelBase {
1822 : KernelBase(&source, 0), in knCopyVec3ToReal()
[all …]
H A Dkernel.h75 struct KernelBase { struct
80 KernelBase(IndexInt num); argument
81 KernelBase(const GridBase *base, int bnd);
82 KernelBase(const Grid4dBase *base, int bnd);
H A Dgrid4d.cpp157 struct kn4dMinReal : public KernelBase {
212 struct kn4dMaxReal : public KernelBase {
267 struct kn4dMinInt : public KernelBase {
322 struct kn4dMaxInt : public KernelBase {
377 template<class VEC> struct kn4dMinVec : public KernelBase {
623 template<class T> struct kn4dClamp : public KernelBase {
786 struct knGetComp4d : public KernelBase {
788 : KernelBase(&src, 0), src(src), dst(dst), c(c) in knGetComp4d()
833 struct knSetComp4d : public KernelBase {
835 : KernelBase(&src, 0), src(src), dst(dst), c(c) in knSetComp4d()
[all …]
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/muq2/modules/Approximation/src/GaussianProcesses/
H A DObservationInformation.cpp8 void ObservationInformation::FillSelfCov(std::shared_ptr<KernelBase> kernel, in FillSelfCov()
15 std::shared_ptr<KernelBase> kernel, in FillCrossCov()
22 std::shared_ptr<KernelBase> kernel, in FillCrossCov()
29 … std::shared_ptr<KernelBase> kernel) in BuildBaseCovariance()
34 Eigen::MatrixXd ObservationInformation::BuildBaseCovariance(std::shared_ptr<KernelBase> kernel) in BuildBaseCovariance()
40 … std::shared_ptr<KernelBase> kernel) in BuildBaseCovariance()
54 … std::shared_ptr<KernelBase> kernel) in BuildBaseCovariance()
63 Eigen::MatrixXd DerivativeObservation::BuildBaseCovariance(std::shared_ptr<KernelBase> kernel) in BuildBaseCovariance()
80 … std::shared_ptr<KernelBase> kernel) in BuildBaseCovariance()
H A DProductKernel.cpp5 ProductKernel::ProductKernel(std::shared_ptr<KernelBase> kernel1In, in ProductKernel()
6 std::shared_ptr<KernelBase> kernel2In) : KernelBase(kernel1In->inputDim, in ProductKernel()
52 std::vector<std::shared_ptr<KernelBase>> ProductKernel::GetSeperableComponents() in GetSeperableComponents()
73 std::vector<std::shared_ptr<KernelBase>> output, output2; in GetSeperableComponents()
82 return std::vector<std::shared_ptr<KernelBase>>(1, this->Clone()); in GetSeperableComponents()
114 … std::shared_ptr<KernelBase> const& kernel2, in GetProductStateSpace()
175 …tKernel> muq::Approximation::operator*(std::shared_ptr<KernelBase> k1, std::shared_ptr<KernelBase>… in operator *()
H A DKernelBase.cpp5 Eigen::MatrixXd KernelBase::Evaluate(Eigen::VectorXd const& x1, in Evaluate()
24 Eigen::MatrixXd KernelBase::BuildCovariance(Eigen::MatrixXd const& x) const in BuildCovariance()
31 Eigen::MatrixXd KernelBase::BuildCovariance(Eigen::MatrixXd const& x1, in BuildCovariance()
39 void KernelBase::FillCovariance(Eigen::MatrixXd const& x, in FillCovariance()
64 void KernelBase::FillCovariance(Eigen::MatrixXd const& x1, in FillCovariance()
87 void KernelBase::FillDerivCovariance(Eigen::MatrixXd const& x1, in FillDerivCovariance()
112 Eigen::MatrixXd KernelBase::GetPosDerivative(Eigen::VectorXd const& x1, in GetPosDerivative()
H A DSumKernel.cpp10 SumKernel::SumKernel(std::shared_ptr<KernelBase> kernel1In, in SumKernel()
11 std::shared_ptr<KernelBase> kernel2In) : KernelBase(kernel1In->inputDim, in SumKernel()
80 …mKernel> muq::Approximation::operator+(std::shared_ptr<KernelBase> k1, std::shared_ptr<KernelBase>… in operator +()
H A DConcatenateKernel.cpp5 …eKernel::ConcatenateKernel(std::vector<std::shared_ptr<KernelBase>> const& kernelsIn) : KernelBase in ConcatenateKernel()
68 unsigned int ConcatenateKernel::CountCoDims(std::vector<std::shared_ptr<KernelBase>> kernelsIn) in CountCoDims()
75 unsigned int ConcatenateKernel::CountParams(std::vector<std::shared_ptr<KernelBase>> kernelsIn) in CountParams()
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/gpu/features/src/
H A Dfpfh.cu59 struct KernelBase struct
87 struct Spfh : public KernelBase
186 int block = KernelBase::CTA_SIZE; in computeSPFH()
187 int grid = divUp((int)spfh.work_size, KernelBase::WAPRS); in computeSPFH()
199 struct Fpfh : public KernelBase
330 int block = KernelBase::CTA_SIZE; in computeFPFH()
331 int grid = divUp((int)fpfh.work_size, KernelBase::WAPRS); in computeFPFH()
353 int block = KernelBase::CTA_SIZE; in computeFPFH()
354 int grid = divUp((int)fpfh.work_size, KernelBase::WAPRS); in computeFPFH()

1234