/dports/graphics/blender/blender-2.91.0/source/blender/modifiers/intern/ |
H A D | MOD_weightvgmix.c | 88 return (weight < weight2 ? weight2 - weight : weight - weight2); in mix_weight() 93 return weight2; in mix_weight() 97 return weight2; in mix_weight() 100 return (weight + weight2); in mix_weight() 103 return (weight - weight2); in mix_weight() 106 return (weight * weight2); in mix_weight() 110 if (weight2 < 0.0f && weight2 > -MOD_WVG_ZEROFLOOR) { in mix_weight() 113 else if (weight2 >= 0.0f && weight2 < MOD_WVG_ZEROFLOOR) { in mix_weight() 119 return (weight < weight2 ? weight2 - weight : weight - weight2); in mix_weight() 125 return weight2; in mix_weight() [all …]
|
/dports/multimedia/transcode/transcode-1.1.7/aclib/ |
H A D | rescale.c | 28 else if (weight2 >= 0x10000) in ac_rescale() 31 (*rescale_ptr)(src1, src2, dest, bytes, weight1, weight2); in ac_rescale() 41 uint32_t weight1, uint32_t weight2) in rescale() argument 56 uint32_t weight1, uint32_t weight2) in rescale_mmx() argument 64 int half2 = weight2 / 2; in rescale_mmx() 113 bytes & 7, weight1, weight2); in rescale_mmx() 131 : : "a" (weight1), "d" (weight2)); in rescale_mmxext() 170 bytes & 7, weight1, weight2); in rescale_mmxext() 196 uint32_t weight1, uint32_t weight2) in rescale_sse2() argument 200 : : "a" (weight1<<16|weight1), "d" (weight2<<16|weight2)); in rescale_sse2() [all …]
|
/dports/math/mlpack/mlpack-3.4.2/src/mlpack/methods/decision_tree/ |
H A D | gini_gain.hpp | 94 const double weight2 = weights[i - 2]; in Evaluate() local 99 counts2[labels[i - 2]] += weight2; in Evaluate() 104 accWeights[1] += weight2; in Evaluate() 119 const double weight2 = weights[labels.n_elem - 1]; in Evaluate() local 122 counts2[labels[labels.n_elem - 1]] += weight2; in Evaluate() 125 accWeights[1] += weight2; in Evaluate() 130 const double weight2 = weights[labels.n_elem - 2]; in Evaluate() local 134 counts2[labels[labels.n_elem - 2]] += weight2; in Evaluate() 138 accWeights[1] += weight2; in Evaluate()
|
H A D | information_gain.hpp | 92 const double weight2 = weights[i - 2]; in Evaluate() local 97 counts2[labels[i - 2]] += weight2; in Evaluate() 102 accWeights[1] += weight2; in Evaluate() 117 const double weight2 = weights[labels.n_elem - 1]; in Evaluate() local 120 counts2[labels[labels.n_elem - 1]] += weight2; in Evaluate() 123 accWeights[1] += weight2; in Evaluate() 128 const double weight2 = weights[labels.n_elem - 2]; in Evaluate() local 132 counts2[labels[labels.n_elem - 2]] += weight2; in Evaluate() 136 accWeights[1] += weight2; in Evaluate()
|
/dports/print/hplip/hplip-3.20.6/ip/ |
H A D | xgray2bi.c | 169 int weight4, weight2, weight1; in diffuseRow() local 198 + eptr[3] + weight2 + weight4 + noise ; \ in diffuseRow() 199 weight2 = (weight4>>1); \ in diffuseRow() 200 weight1 = (weight2>>1); \ in diffuseRow() 202 bll = bleft + weight2 + weight1 /* + noise */ ; \ in diffuseRow() 204 below = weight2 + noise ; \ in diffuseRow() 211 weight2 = 0; in diffuseRow() 225 weight2 = weight4 >> 1; \ in diffuseRow() 226 weight1 = weight2 >> 1; \ in diffuseRow() 230 rr += weight2; \ in diffuseRow() [all …]
|
/dports/math/sisl/SISL-SISL-4.6.0-44-g9114631/src/ |
H A D | s1332.c | 126 double *weight2 = SISL_NULL; /* Rational weights in second direction */ local 179 weight2 = newarray(kn2,DOUBLE); 180 if (!weight2) goto err101; 183 weight2[ki] = rcoef2[(ki + 1)*rdim - 1]; 186 weight2[ki] = 1.; 198 weight = weight1[ki]*weight2[kj]; 254 if (weight2) freearray(weight2);
|
/dports/graphics/libjxl/libjxl-0.6.1/lib/jxl/ |
H A D | gaborish_test.cc | 19 WeightsSymmetric3 GaborishKernel(float weight1, float weight2) { in GaborishKernel() argument 23 const float mul = 1.0f / (weight0 + 4 * (weight1 + weight2)); in GaborishKernel() 26 const float w2 = weight2 * mul; in GaborishKernel() 32 void ConvolveGaborish(const ImageF& in, float weight1, float weight2, in ConvolveGaborish() argument 35 Symmetric3(in, Rect(in), GaborishKernel(weight1, weight2), pool, out); in ConvolveGaborish()
|
/dports/www/firefox/firefox-99.0/third_party/jpeg-xl/lib/jxl/ |
H A D | gaborish_test.cc | 19 WeightsSymmetric3 GaborishKernel(float weight1, float weight2) { in GaborishKernel() argument 23 const float mul = 1.0f / (weight0 + 4 * (weight1 + weight2)); in GaborishKernel() 26 const float w2 = weight2 * mul; in GaborishKernel() 32 void ConvolveGaborish(const ImageF& in, float weight1, float weight2, in ConvolveGaborish() argument 35 Symmetric3(in, Rect(in), GaborishKernel(weight1, weight2), pool, out); in ConvolveGaborish()
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/jpeg-xl/lib/jxl/ |
H A D | gaborish_test.cc | 19 WeightsSymmetric3 GaborishKernel(float weight1, float weight2) { in GaborishKernel() argument 23 const float mul = 1.0f / (weight0 + 4 * (weight1 + weight2)); in GaborishKernel() 26 const float w2 = weight2 * mul; in GaborishKernel() 32 void ConvolveGaborish(const ImageF& in, float weight1, float weight2, in ConvolveGaborish() argument 35 Symmetric3(in, Rect(in), GaborishKernel(weight1, weight2), pool, out); in ConvolveGaborish()
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/jpeg-xl/lib/jxl/ |
H A D | gaborish_test.cc | 19 WeightsSymmetric3 GaborishKernel(float weight1, float weight2) { in GaborishKernel() argument 23 const float mul = 1.0f / (weight0 + 4 * (weight1 + weight2)); in GaborishKernel() 26 const float w2 = weight2 * mul; in GaborishKernel() 32 void ConvolveGaborish(const ImageF& in, float weight1, float weight2, in ConvolveGaborish() argument 35 Symmetric3(in, Rect(in), GaborishKernel(weight1, weight2), pool, out); in ConvolveGaborish()
|
/dports/audio/praat/praat-6.2.03/test/script/ |
H A D | RBMparallel.praat | 27 weight2## = zero## (numberOfMiddleNodes, numberOfOutputNodes) 40 output2# = sigmoid# (outbias2# + mul# (input2#, weight2##)) 46 inrec2# = sigmoid# (inbias2# + mul# (weight2##, output2#)) 51 outrec2# = sigmoid# (outbias2# + mul# (inrec2#, weight2##)) 60 weight2## += learningRate * (outer## (input2#, output2#) - outer## (inrec2#, outrec2#)) 64 appendInfoLine: weight1##, newline$, newline$, weight2## 95 output2# = sigmoid# (outbias2# + mul# (input2#, weight2##)) 100 inrec2# = sigmoid# (inbias2# + mul# (weight2##, output2#))
|
H A D | RBM.praat | 55 weight2## = zero## (numberOfMiddleNodes, numberOfOutputNodes) 78 output2# = sigmoid# (outbias2# + mul# (input2#, weight2##)) 83 inrec2# = sigmoid# (inbias2# + mul# (weight2##, output2#)) 86 ; weight2## by reference OK 95 outrec2# = sigmoid# (outbias2# + mul# (inrec2#, weight2##)) 101 weight2## += learningRate * (outer## (input2#, output2#) - outer## (inrec2#, outrec2#)) 135 output2# = sigmoid# (outbias2# + mul# (input2#, weight2##)) 140 inrec2# = sigmoid# (inbias2# + mul# (weight2##, output2#))
|
/dports/devel/spark/spark-2.1.1/mllib/src/test/scala/org/apache/spark/mllib/regression/ |
H A D | LassoSuite.scala | 64 val weight2 = model.weights(2) constant 67 assert(weight2 >= -1.0e-3 && weight2 <= 1.0e-3, weight2 + " not in [-0.001, 0.001]") 108 val weight2 = model.weights(2) constant 111 assert(weight2 >= -1.0e-3 && weight2 <= 1.0e-3, weight2 + " not in [-0.001, 0.001]")
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/netfilter/ipvs/ |
H A D | ip_vs_twos.c | 49 int rweight1, rweight2, weight1 = -1, weight2 = -1, overhead1 = 0; in ip_vs_twos_schedule() local 95 if (rweight2 <= 0 && weight2 == -1) { in ip_vs_twos_schedule() 97 weight2 = weight; in ip_vs_twos_schedule() 101 if (weight1 != -1 && weight2 != -1) in ip_vs_twos_schedule() 106 if (choice2 && (weight2 * overhead1) > (weight1 * overhead2)) in ip_vs_twos_schedule()
|
/dports/multimedia/libv4l/linux-5.13-rc2/net/netfilter/ipvs/ |
H A D | ip_vs_twos.c | 49 int rweight1, rweight2, weight1 = -1, weight2 = -1, overhead1 = 0; in ip_vs_twos_schedule() local 95 if (rweight2 <= 0 && weight2 == -1) { in ip_vs_twos_schedule() 97 weight2 = weight; in ip_vs_twos_schedule() 101 if (weight1 != -1 && weight2 != -1) in ip_vs_twos_schedule() 106 if (choice2 && (weight2 * overhead1) > (weight1 * overhead2)) in ip_vs_twos_schedule()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/netfilter/ipvs/ |
H A D | ip_vs_twos.c | 49 int rweight1, rweight2, weight1 = -1, weight2 = -1, overhead1 = 0; in ip_vs_twos_schedule() local 95 if (rweight2 <= 0 && weight2 == -1) { in ip_vs_twos_schedule() 97 weight2 = weight; in ip_vs_twos_schedule() 101 if (weight1 != -1 && weight2 != -1) in ip_vs_twos_schedule() 106 if (choice2 && (weight2 * overhead1) > (weight1 * overhead2)) in ip_vs_twos_schedule()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/tests/python/relay/ |
H A D | test_pass_convert_op_layout.py | 263 weight2, 279 weight2 = relay.layout_transform(weight2, "HWIO", "OIHW") 312 weight2, 330 weight2 = relay.layout_transform(weight2, "HWIO", "OIHW") 414 weight2 = relay.layout_transform(weight2, "HWIO", "OIHW") 607 weight2, 636 weight2 = relay.layout_transform(weight2, "HWIO", "OIHW") 651 weight2, 701 weight2, 732 weight2 = relay.layout_transform(weight2, "HWIO", "OIHW") [all …]
|
/dports/x11-toolkits/wmapp/wmapp-0.0.4.3/ |
H A D | colors.h | 25 double weight2 = 1.0 - weight1; in alpha_blend() local 26 int r = static_cast<int>(c1.r() * weight1 + c2.r() * weight2 + 0.5); in alpha_blend() 27 int g = static_cast<int>(c1.g() * weight1 + c2.g() * weight2 + 0.5); in alpha_blend() 28 int b = static_cast<int>(c1.b() * weight1 + c2.b() * weight2 + 0.5); in alpha_blend()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/net/forwarding/ |
H A D | gre_multipath_nh.sh | 238 local weight2=$1; shift 241 ip nexthop replace id 103 group 101,$weight1/102,$weight2 255 multipath_eval "$what" $weight1 $weight2 $d111 $d222 265 local weight2=$1; shift 268 ip nexthop replace id 103 group 101,$weight1/102,$weight2 283 multipath_eval "$what" $weight1 $weight2 $d111 $d222 293 local weight2=$1; shift 296 ip nexthop replace id 103 group 101,$weight1/102,$weight2 310 multipath_eval "$what" $weight1 $weight2 $d111 $d222
|
H A D | gre_multipath_nh_res.sh | 240 local weight2=$1; shift 243 ip nexthop replace id 103 group 101,$weight1/102,$weight2 \ 258 multipath_eval "$what" $weight1 $weight2 $d111 $d222 268 local weight2=$1; shift 271 ip nexthop replace id 103 group 101,$weight1/102,$weight2 \ 287 multipath_eval "$what" $weight1 $weight2 $d111 $d222 297 local weight2=$1; shift 300 ip nexthop replace id 103 group 101,$weight1/102,$weight2 \ 315 multipath_eval "$what" $weight1 $weight2 $d111 $d222
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/net/forwarding/ |
H A D | gre_multipath_nh.sh | 238 local weight2=$1; shift 241 ip nexthop replace id 103 group 101,$weight1/102,$weight2 255 multipath_eval "$what" $weight1 $weight2 $d111 $d222 265 local weight2=$1; shift 268 ip nexthop replace id 103 group 101,$weight1/102,$weight2 283 multipath_eval "$what" $weight1 $weight2 $d111 $d222 293 local weight2=$1; shift 296 ip nexthop replace id 103 group 101,$weight1/102,$weight2 310 multipath_eval "$what" $weight1 $weight2 $d111 $d222
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/net/forwarding/ |
H A D | gre_multipath_nh.sh | 238 local weight2=$1; shift 241 ip nexthop replace id 103 group 101,$weight1/102,$weight2 255 multipath_eval "$what" $weight1 $weight2 $d111 $d222 265 local weight2=$1; shift 268 ip nexthop replace id 103 group 101,$weight1/102,$weight2 283 multipath_eval "$what" $weight1 $weight2 $d111 $d222 293 local weight2=$1; shift 296 ip nexthop replace id 103 group 101,$weight1/102,$weight2 310 multipath_eval "$what" $weight1 $weight2 $d111 $d222
|
/dports/mail/courier/courier-0.65.3/maildrop/ |
H A D | search.C | 40 weight2=1; in init() 144 weight2=atof(opts); in init() 201 weight1 *= weight2; in find() 218 weight1 *= weight2; in find() 311 weight1 *= weight2; in findinline() 333 weight1 *= weight2; in findinline() 388 weight1 *= weight2; in findinline() 411 weight1 *= weight2; in findinline() 471 weight1 *= weight2; in findinsection()
|
/dports/graphics/povray38/povunix-v3.8.0-beta.2-src/source/core/material/ |
H A D | pigment.cpp | 459 …const TransColour& colour1, DBL weight1, const TransColour& colour2, DBL weight2, TraceThreadData … in Blend() argument 466 result = colour1 * weight1 + colour2 * weight2; in Blend() 471 … + GammaCurve::Decode(thread->GetSceneData()->workingGamma, colour2) * weight2); in Blend() 478 result = colour1 * weight1 + colour2 * weight2; in Blend() 483 … + GammaCurve::Decode(thread->GetSceneData()->workingGamma, colour2.filter()) * weight2); in Blend() 486 … + GammaCurve::Decode(thread->GetSceneData()->workingGamma, colour2.transm()) * weight2); in Blend() 489 … + GammaCurve::Encode(blendGamma, colour2.colour()) * weight2); in Blend() 496 result = colour1 * weight1 + colour2 * weight2; in Blend() 501 … + GammaCurve::Encode(blendGamma, colour2.colour().Greyscale()) * weight2); in Blend() 504 … + GammaCurve::Decode(thread->GetSceneData()->workingGamma, colour2) * weight2); in Blend() [all …]
|
/dports/astro/kstars/kstars-3.5.6/kstars/terrain/ |
H A D | terrainrenderer.cpp | 118 const float weight2 = static_cast<float>(x) / sampling - xSampled; in get() local 119 const float weight1 = 1 - weight2; in get() 120 …*az = weight1 * azLookup->get(xSampled, ySampled) + weight2 * azLookup->get(xSampled + 1, ySamp… in get() 121 …*alt = weight1 * altLookup->get(xSampled, ySampled) + weight2 * altLookup->get(xSampled + 1, ySamp… in get() 137 const float weight2 = static_cast<float>(y) / sampling - ySampled; in get() local 138 const float weight1 = 1 - weight2; in get() 139 …*az = weight1 * azLookup->get(xSampled, ySampled) + weight2 * azLookup->get(xSampled, ySampled … in get() 140 …*alt = weight1 * altLookup->get(xSampled, ySampled) + weight2 * altLookup->get(xSampled, ySampled … in get() 155 const float weight2 = static_cast<float>(x) / sampling - xSampled; in get() local 156 const float weight1 = 1 - weight2; in get() [all …]
|