Home
last modified time | relevance | path

Searched refs:ElemType (Results 1 – 25 of 1559) sorted by relevance

12345678910>>...63

/dports/math/mlpack/mlpack-3.4.2/src/mlpack/core/tree/
H A Dhrectbound_impl.hpp66 ElemType>::operator=(const HRectBound<MetricType, ElemType>& other) in operator =()
150 inline ElemType HRectBound<MetricType, ElemType>::Volume() const in Volume()
169 inline ElemType HRectBound<MetricType, ElemType>::MinDistance( in MinDistance()
175 ElemType sum = 0; in MinDistance()
232 ElemType sum = 0; in MinDistance()
289 inline ElemType HRectBound<MetricType, ElemType>::MaxDistance( in MaxDistance()
293 ElemType sum = 0; in MaxDistance()
329 inline ElemType HRectBound<MetricType, ElemType>::MaxDistance( in MaxDistance()
337 ElemType v; in MaxDistance()
627 inline ElemType HRectBound<MetricType, ElemType>::Overlap( in Overlap()
[all …]
H A Dhollow_ball_bound_impl.hpp36 HollowBallBound<TMetricType, ElemType>::
80 HollowBallBound<TMetricType, ElemType>& HollowBallBound<TMetricType, ElemType>::
124 math::RangeType<ElemType> HollowBallBound<TMetricType, ElemType>::operator[]( in operator []()
196 ElemType HollowBallBound<TMetricType, ElemType>::MinDistance( in MinDistance()
221 ElemType HollowBallBound<TMetricType, ElemType>::MinDistance( in MinDistance()
255 ElemType HollowBallBound<TMetricType, ElemType>::MaxDistance( in MaxDistance()
269 ElemType HollowBallBound<TMetricType, ElemType>::MaxDistance( in MaxDistance()
287 math::RangeType<ElemType> HollowBallBound<TMetricType, ElemType>::RangeDistance( in RangeDistance()
296 math::RangeType<ElemType> range; in RangeDistance()
314 math::RangeType<ElemType> HollowBallBound<TMetricType, ElemType>::RangeDistance( in RangeDistance()
[all …]
H A Dcellbound_impl.hpp87 ElemType>& CellBound<MetricType, ElemType>::operator=( in operator =()
476 inline ElemType CellBound<MetricType, ElemType>::MinDistance( in MinDistance()
482 ElemType minSum = std::numeric_limits<ElemType>::max(); in MinDistance()
552 ElemType minSum = std::numeric_limits<ElemType>::max(); in MinDistance()
615 inline ElemType CellBound<MetricType, ElemType>::MaxDistance( in MaxDistance()
619 ElemType maxSum = std::numeric_limits<ElemType>::lowest(); in MaxDistance()
661 inline ElemType CellBound<MetricType, ElemType>::MaxDistance( in MaxDistance()
665 ElemType maxSum = std::numeric_limits<ElemType>::lowest(); in MaxDistance()
669 ElemType v; in MaxDistance()
714 ElemType minLoSum = std::numeric_limits<ElemType>::max(); in RangeDistance()
[all …]
H A Dhollow_ball_bound.hpp32 typename ElemType = double>
41 math::RangeType<ElemType> radii;
43 arma::Col<ElemType> center;
45 arma::Col<ElemType> hollowCenter;
76 HollowBallBound(const ElemType innerRadius,
77 const ElemType outerRadius,
95 ElemType& OuterRadius() { return radii.Hi(); } in OuterRadius()
100 ElemType& InnerRadius() { return radii.Lo(); } in InnerRadius()
153 ElemType MinDistance(const VecType& point,
170 ElemType MaxDistance(const VecType& point,
[all …]
H A Dcellbound.hpp74 typename ElemType = double>
143 ElemType MinWidth() const { return minWidth; } in MinWidth()
145 ElemType& MinWidth() { return minWidth; } in MinWidth()
165 ElemType MinDistance(const VecType& point,
182 ElemType MaxDistance(const VecType& point,
208 math::RangeType<ElemType> RangeDistance(
249 ElemType Diameter() const;
265 math::RangeType<ElemType>* bounds;
267 arma::Mat<ElemType> loBound;
269 arma::Mat<ElemType> hiBound;
[all …]
H A Dhrectbound.hpp53 typename ElemType = double>
102 ElemType MinWidth() const { return minWidth; } in MinWidth()
104 ElemType& MinWidth() { return minWidth; } in MinWidth()
116 void Center(arma::Col<ElemType>& center) const;
123 ElemType Volume() const;
131 ElemType MinDistance(const VecType& point,
148 ElemType MaxDistance(const VecType& point,
174 math::RangeType<ElemType> RangeDistance(
226 ElemType Diameter() const;
238 math::RangeType<ElemType>* bounds;
[all …]
/dports/math/mlpack/mlpack-3.4.2/src/mlpack/core/math/
H A Dmake_alias.hpp23 template<typename ElemType>
24 arma::Cube<ElemType> MakeAlias(arma::Cube<ElemType>& input, in MakeAlias()
36 template<typename ElemType>
37 arma::Mat<ElemType> MakeAlias(arma::Mat<ElemType>& input, in MakeAlias()
49 template<typename ElemType>
50 arma::Row<ElemType> MakeAlias(arma::Row<ElemType>& input, in MakeAlias()
61 template<typename ElemType>
62 arma::Col<ElemType> MakeAlias(arma::Col<ElemType>& input, in MakeAlias()
74 arma::SpMat<ElemType> MakeAlias(const arma::SpMat<ElemType>& input, in MakeAlias()
86 arma::SpRow<ElemType> MakeAlias(const arma::SpRow<ElemType>& input, in MakeAlias()
[all …]
/dports/math/mlpack/mlpack-3.4.2/src/mlpack/core/tree/cover_tree/
H A Dcover_tree.hpp119 const ElemType base = 2.0,
133 const ElemType base = 2.0);
190 const ElemType base,
219 const ElemType base,
322 ElemType& Base() { return base; } in Base()
364 ElemType MinDistance(const CoverTree& other, const ElemType distance) const;
371 ElemType MinDistance(const arma::vec& other, const ElemType distance) const;
378 ElemType MaxDistance(const CoverTree& other, const ElemType distance) const;
385 ElemType MaxDistance(const arma::vec& other, const ElemType distance) const;
446 ElemType base;
[all …]
/dports/math/clblas/clBLAS-2.10/src/tests/performance/
H A Dperf-rotmg.cpp116 template <typename ElemType>
117 RotmgPerformanceTest<ElemType>::RotmgPerformanceTest( in RotmgPerformanceTest()
129 D1_ = new ElemType[1 + params_.offa]; in RotmgPerformanceTest()
130 back_D1_ = new ElemType[1 + params_.offa]; in RotmgPerformanceTest()
151 template <typename ElemType>
224 template <typename ElemType> bool
254 template <typename ElemType> int
255 RotmgPerformanceTest<ElemType>::prepare(void) in prepare()
261 ElemType sflagParam = convertMultiplier<ElemType>(params_.alpha); in prepare()
284 template <typename ElemType> nano_time_t
[all …]
H A Dperf-her2k.cpp103 ElemType alpha_;
104 ElemType beta_;
105 ElemType *A_;
106 ElemType *B_;
107 ElemType *C_;
108 ElemType *backC_;
115 template <typename ElemType>
129 template <typename ElemType>
180 return ((2 * n * k * sizeof(ElemType)) + (n * n * sizeof(ElemType)) < maxMatrSize); in areResourcesSufficient()
184 template <typename ElemType> int
[all …]
H A Dperf-gemm.cpp112 ElemType alpha_;
113 ElemType beta_;
114 ElemType *A_;
115 ElemType *B_;
116 ElemType *C_;
117 ElemType *backC_;
124 template <typename ElemType>
139 template <typename ElemType>
156 template <typename ElemType> bool
186 template <typename ElemType> int
[all …]
H A Dperf-syr2k.cpp112 ElemType alpha_;
113 ElemType beta_;
114 ElemType *A_;
115 ElemType *B_;
116 ElemType *C_;
117 ElemType *backC_;
124 template <typename ElemType>
139 template <typename ElemType>
156 template <typename ElemType> bool
174 template <typename ElemType> int
[all …]
H A Dperf-swap.cpp102 ElemType alpha_;
103 ElemType *X_;
104 ElemType *Y_;
105 ElemType *blasX_;
106 ElemType *blasY_;
114 template <typename ElemType>
141 template <typename ElemType>
174 template <typename ElemType> bool
198 template <typename ElemType> int
213 template <typename ElemType> nano_time_t
[all …]
H A Dperf-rotm.cpp117 template <typename ElemType>
132 X_ = new ElemType[lengthx + params_.offa]; in RotmPerformanceTest()
134 Y_ = new ElemType[lengthy + params_.offb]; in RotmPerformanceTest()
136 PARAM_ = new ElemType[5 + params_.offc]; in RotmPerformanceTest()
149 template <typename ElemType>
196 template <typename ElemType> bool
228 template <typename ElemType> int
229 RotmPerformanceTest<ElemType>::prepare(void) in prepare()
235 ElemType sflagParam = convertMultiplier<ElemType>(params_.alpha); in prepare()
254 template <typename ElemType> nano_time_t
[all …]
H A Dperf-hbmv.cpp99 ElemType alpha;
100 ElemType beta;
101 ElemType *A_;
102 ElemType *X_;
103 ElemType *Y_;
104 ElemType *backY_;
111 template <typename ElemType>
125 A_ = new ElemType[ lenA ]; in HbmvPerformanceTest()
126 X_ = new ElemType[ lenX ]; in HbmvPerformanceTest()
127 Y_ = new ElemType[ lenY ]; in HbmvPerformanceTest()
[all …]
H A Dperf-gemm2.cpp113 ElemType alpha_;
114 ElemType beta_;
115 ElemType *A_;
116 ElemType *B_;
117 ElemType *C_;
118 ElemType *backC_;
125 template <typename ElemType>
140 template <typename ElemType>
177 template <typename ElemType> bool
212 template <typename ElemType> int
[all …]
H A Dperf-syrk.cpp112 ElemType alpha_;
113 ElemType beta_;
114 ElemType *A_;
115 ElemType *C_;
116 ElemType *backC_;
122 template <typename ElemType>
136 template <typename ElemType>
151 template <typename ElemType> bool
169 template <typename ElemType> int
201 template <typename ElemType> nano_time_t
[all …]
H A Dperf-herk.cpp103 ElemType alpha_;
104 ElemType beta_;
105 ElemType *A_;
106 ElemType *C_;
107 ElemType *backC_;
113 template <typename ElemType>
127 template <typename ElemType>
156 template <typename ElemType> bool
175 return ((n * k * sizeof(ElemType)) + (n * n * sizeof(ElemType)) < maxMatrSize); in areResourcesSufficient()
184 template <typename ElemType> int
[all …]
H A Dperf-axpy.cpp108 ElemType alpha_;
109 ElemType *X_;
110 ElemType *Y_;
111 ElemType *blasX_;
112 ElemType *blasY_;
120 template <typename ElemType>
147 template <typename ElemType>
180 template <typename ElemType> bool
203 template <typename ElemType> int
217 template <typename ElemType> nano_time_t
[all …]
H A Dperf-sbmv.cpp99 ElemType alpha;
100 ElemType beta;
101 ElemType *A_;
102 ElemType *X_;
103 ElemType *Y_;
104 ElemType *backY_;
111 template <typename ElemType>
125 A_ = new ElemType[ lenA ]; in SbmvPerformanceTest()
126 X_ = new ElemType[ lenX ]; in SbmvPerformanceTest()
127 Y_ = new ElemType[ lenY ]; in SbmvPerformanceTest()
[all …]
H A DTrxmPerformanceTest.cpp103 ElemType alpha_;
104 ElemType *A_;
105 ElemType *B_;
106 ElemType *backB_;
117 template <typename ElemType>
131 template <typename ElemType>
146 template <typename ElemType> bool
193 template <typename ElemType> int
227 template <typename ElemType> nano_time_t
242 sizeof(ElemType)); in etalonPerfSingle()
[all …]
H A Dperf-dotc.cpp97 ElemType *blasX_;
98 ElemType *blasY_;
108 template <typename ElemType>
134 template <typename ElemType>
168 template <typename ElemType> bool
185 sizeDP = (1 + params->offa) * sizeof(ElemType); in areResourcesSufficient()
193 template <typename ElemType> int
194 DotcPerformanceTest<ElemType>::prepare(void) in prepare()
207 template <typename ElemType> nano_time_t
224 template <typename ElemType> nano_time_t
[all …]
/dports/math/mlpack/mlpack-3.4.2/src/mlpack/methods/ann/rbm/
H A Drbm.hpp69 const ElemType radius = 1,
167 SampleHidden(const arma::Mat<ElemType>& input, arma::Mat<ElemType>& output);
181 SampleHidden(const arma::Mat<ElemType>& input, arma::Mat<ElemType>& output);
192 SampleVisible(arma::Mat<ElemType>& input, arma::Mat<ElemType>& output);
206 SampleVisible(arma::Mat<ElemType>& input, arma::Mat<ElemType>& output);
384 arma::Mat<ElemType> parameter;
386 arma::Mat<ElemType> predictors;
390 arma::Mat<ElemType> state;
408 arma::Cube<ElemType> weight;
428 ElemType slabPenalty;
[all …]
/dports/science/py-pymol/pymol-open-source-2.4.0/layer0/
H A DListMacros.h31 ElemType *current = (List); \
32 ElemType *previous = NULL; \
45 #define ListFree(List,Link,ElemType) \ argument
47 ElemType *current = List; \
48 ElemType *previous = NULL; \
63 ElemType *current = List; \
64 ElemType *previous = NULL; \
84 ElemType *copy = (Elem); \
85 ListDetach(List,copy,Link,ElemType); \
95 #define ListElemAlloc(G,Elem,ElemType) \ argument
[all …]
/dports/math/ensmallen/ensmallen-2.17.0/include/ensmallen_bits/problems/
H A Dschaffer_function_n2_impl.hpp32 typedef typename MatType::elem_type ElemType; in Evaluate() typedef
35 const ElemType x1 = coordinates(0); in Evaluate()
36 const ElemType x2 = coordinates(1); in Evaluate()
59 typedef typename MatType::elem_type ElemType; in Gradient() typedef
62 const ElemType x1 = coordinates(0); in Gradient()
63 const ElemType x2 = coordinates(1); in Gradient()
66 const ElemType x1Sq = x1 * x1; in Gradient()
67 const ElemType x2Sq = x2 * x2; in Gradient()
68 const ElemType sum1 = x1Sq - x2Sq; in Gradient()
69 const ElemType sinSum1 = sin(sum1); in Gradient()
[all …]

12345678910>>...63