Home
last modified time | relevance | path

Searched refs:lambda (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/external/fec/
Ddecode_rs.h75 data_t lambda[NROOTS+1], s[NROOTS]; /* Err+Eras Locator poly variable
109 memset(&lambda[1],0,NROOTS*sizeof(lambda[0]));
110 lambda[0] = 1;
114 lambda[1] = ALPHA_TO[MODNN(PRIM*(NN-1-eras_pos[0]))];
118 tmp = INDEX_OF[lambda[j - 1]];
120 lambda[j] ^= ALPHA_TO[MODNN(u + tmp)];
130 reg[i] = INDEX_OF[lambda[i]];
161 b[i] = INDEX_OF[lambda[i]];
173 if ((lambda[i] != 0) && (s[r-i-1] != A0)) {
174 discr_r ^= ALPHA_TO[MODNN(INDEX_OF[lambda[i]] + s[r-i-1])];
[all …]
Ddecode_rs.c33 data_t lambda[NROOTS+1], s[NROOTS]; /* Err+Eras Locator poly local
73 memset(&lambda[1],0,NROOTS*sizeof(lambda[0]));
74 lambda[0] = 1;
78 lambda[1] = ALPHA_TO[MODNN(PRIM*(NN-1-eras_pos[0]))];
82 tmp = INDEX_OF[lambda[j - 1]];
84 lambda[j] ^= ALPHA_TO[MODNN(u + tmp)];
94 reg[i] = INDEX_OF[lambda[i]];
125 b[i] = INDEX_OF[lambda[i]];
137 if ((lambda[i] != 0) && (s[r-i-1] != A0)) {
138 discr_r ^= ALPHA_TO[MODNN(INDEX_OF[lambda[i]] + s[r-i-1])];
[all …]
/external/libgsm/src/
Dlong_term.c59 register int k, lambda; variable
97 for (lambda = 40; lambda <= 120; lambda++) {
98 L_result = (longword)wt_k * dp[best_k - lambda];
100 Nc = lambda;
163 register int k, lambda; variable
203 for (lambda = 40; lambda <= 120; lambda++) {
206 # define STEP(k) (longword)wt[k] * dp[k - lambda]
233 Nc = lambda;
301 register int k, lambda; variable
355 for (lambda = 40; lambda <= 120; lambda += 9) {
[all …]
/external/clang/test/Analysis/
Dlambdas-generalized-capture.cpp7 auto lambda = [x=v]() { in generalizedCapture() local
11 int result = lambda(); in generalizedCapture()
17 auto lambda = [x=v++]() { in sideEffectsInGeneralizedCapture() local
22 int r1 = lambda(); in sideEffectsInGeneralizedCapture()
23 int r2 = lambda(); in sideEffectsInGeneralizedCapture()
35 auto lambda = [x=addOne(v)]() { in inliningInGeneralizedCapture() local
39 int result = lambda(); in inliningInGeneralizedCapture()
44 auto lambda = [x=(p ? 1 : 2)]() { in caseSplitInGeneralizedCapture() local
48 int result = lambda(); in caseSplitInGeneralizedCapture()
Dlambdas.mm92 auto lambda = [y]{ return y; };
93 int(^block)() = lambda;
102 auto lambda = [x]() mutable {
107 // The block should copy the lambda before capturing.
108 int(^block)() = lambda;
116 // Because block copied the lambda, r3 should be 1.
117 int r3 = lambda();
120 // Aliasing the block shouldn't copy the lambda.
129 // Another copy of lambda
130 int(^blockSecondCopy)() = lambda;
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_texfilter.c613 linear_mipmap_level(const struct gl_texture_object *tObj, GLfloat lambda) in linear_mipmap_level() argument
615 if (lambda < 0.0F) in linear_mipmap_level()
617 else if (lambda > tObj->_MaxLambda) in linear_mipmap_level()
620 return (GLint) (tObj->BaseLevel + lambda); in linear_mipmap_level()
628 nearest_mipmap_level(const struct gl_texture_object *tObj, GLfloat lambda) in nearest_mipmap_level() argument
632 if (lambda <= 0.5F) in nearest_mipmap_level()
634 else if (lambda > tObj->_MaxLambda + 0.4999F) in nearest_mipmap_level()
637 l = lambda; in nearest_mipmap_level()
665 GLuint n, const GLfloat lambda[], in compute_min_mag_ranges() argument
691 printf("lambda delta = %g\n", lambda[0] - lambda[n-1]); in compute_min_mag_ranges()
[all …]
Ds_fragprog.c80 fetch_texel_lod( struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lambda, in fetch_texel_lod() argument
90 lambda = CLAMP(lambda, samp->MinLod, samp->MaxLod); in fetch_texel_lod()
94 &lambda, &rgba); in fetch_texel_lod()
126 GLfloat lambda; in fetch_texel_deriv() local
129 lambda = _swrast_compute_lambda(texdx[0], texdy[0], /* ds/dx, ds/dy */ in fetch_texel_deriv()
136 lambda += lodBias + texUnit->LodBias + samp->LodBias; in fetch_texel_deriv()
138 lambda = CLAMP(lambda, samp->MinLod, samp->MaxLod); in fetch_texel_deriv()
142 &lambda, &rgba); in fetch_texel_deriv()
/external/libopus/silk/float/
Dnoise_shape_analysis_FLP.c41 silk_float lambda, in warped_gain() argument
47 lambda = -lambda; in warped_gain()
50 gain = lambda * gain + coefs[ i ]; in warped_gain()
52 return (silk_float)( 1.0f / ( 1.0f - lambda * gain ) ); in warped_gain()
59 silk_float lambda, in warped_true2monic_coefs() argument
68 coefs[ i - 1 ] -= lambda * coefs[ i ]; in warped_true2monic_coefs()
70 gain = ( 1.0f - lambda * lambda ) / ( 1.0f + lambda * coefs[ 0 ] ); in warped_true2monic_coefs()
93 coefs[ i - 1 ] += lambda * coefs[ i ]; in warped_true2monic_coefs()
106 coefs[ i - 1 ] -= lambda * coefs[ i ]; in warped_true2monic_coefs()
108 gain = ( 1.0f - lambda * lambda ) / ( 1.0f + lambda * coefs[ 0 ] ); in warped_true2monic_coefs()
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
DRandomDataImpl.java382 final double lambda = FastMath.floor(mean); in nextPoisson() local
383 final double lambdaFractional = mean - lambda; in nextPoisson()
384 final double logLambda = FastMath.log(lambda); in nextPoisson()
385 final double logLambdaFactorial = MathUtils.factorialLog((int) lambda); in nextPoisson()
387 … final double delta = FastMath.sqrt(lambda * FastMath.log(32 * lambda / FastMath.PI + 1)); in nextPoisson()
389 final double twolpd = 2 * lambda + delta; in nextPoisson()
390 final double a1 = FastMath.sqrt(FastMath.PI * twolpd) * FastMath.exp(1 / 8 * lambda); in nextPoisson()
395 final double c1 = 1 / (8 * lambda); in nextPoisson()
408 x = n * FastMath.sqrt(lambda + halfDelta) - 0.5d; in nextPoisson()
409 if (x > delta || x < -lambda) { in nextPoisson()
[all …]
/external/clang/test/PCH/
Dcxx11-lambdas.mm14 auto lambda = [&](int z) { return x + z; };
15 return i + lambda(y);
20 auto lambda = [=](int N) -> int {
27 return lambda(n);
31 auto lambda = [=](int m) { return n + m; };
32 int (^block)(int) = lambda;
52 // CHECK-PRINT: lambda = [&] (int z)
Dcxx1y-lambdas.mm14 auto lambda = [](auto z) { return z + z; };
15 return i + lambda(y);
19 auto lambda = [](auto N) -> int {
28 return lambda(n);
32 auto lambda = [=](int m) { return n + m; };
33 int (^block)(int) = lambda;
53 // CHECK-PRINT: lambda = [] (type-parameter-0-0 z
/external/libbrillo/brillo/
Dbind_lambda.h33 explicit LambdaAdapter(Lambda lambda) : lambda_(lambda) {} in LambdaAdapter() argument
45 explicit LambdaAdapter(Lambda lambda) : lambda_(lambda) {} in LambdaAdapter() argument
56 explicit RunnableAdapter(Lambda lambda) in RunnableAdapter() argument
57 : LambdaAdapter<Lambda, decltype(&Lambda::operator())>(lambda) {} in RunnableAdapter()
/external/clang/test/Parser/
Dobjcxx0x-lambda-expressions.mm9 // fail to parse as a lambda introducer, so we get objc message parsing errors instead
12 []; // expected-error {{expected body of lambda expression}}
13 [=,foo+] {}; // expected-error {{expected ',' or ']' in lambda capture list}}
33 [get(bar), baz]; // expected-error {{expected body of lambda}}
36 [foo = bar + baz]; // expected-error {{expected body of lambda}}
37 … { bar, baz }]; // expected-error {{<initializer_list>}} expected-error {{expected body of lambda}}
39 …{ bar }, baz ]; // expected-error {{<initializer_list>}} expected-error {{expected body of lambda}}
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dformat_conversion.h42 auto lambda = [&](int comp) in LoadSOA()
49 UnrollerL<0, FormatTraits<SrcFormat>::numComps, 1>::step(lambda); in LoadSOA()
53 auto lambda = [&](int comp) in LoadSOA()
73 UnrollerL<0, FormatTraits<SrcFormat>::numComps, 1>::step(lambda); in LoadSOA()
167 auto lambda = [&](int comp) in StoreSOA()
195 UnrollerL<0, FormatTraits<DstFormat>::numComps, 1>::step(lambda); in StoreSOA()
210 auto lambda = [&](int comp) in LoadSOA()
217 UnrollerL<0, FormatTraits<SrcFormat>::numComps, 1>::step(lambda); in LoadSOA()
221 auto lambda = [&](int comp) in LoadSOA()
241 UnrollerL<0, FormatTraits<SrcFormat>::numComps, 1>::step(lambda); in LoadSOA()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/endo/
DGLVTypeBParameters.java16 protected final BigInteger lambda; field in GLVTypeBParameters
21 …public GLVTypeBParameters(BigInteger beta, BigInteger lambda, BigInteger[] v1, BigInteger[] v2, Bi… in GLVTypeBParameters() argument
28 this.lambda = lambda; in GLVTypeBParameters()
45 return lambda; in getLambda()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DTnaf.java82 public static BigInteger norm(final byte mu, ZTauElement lambda) in norm() argument
87 BigInteger s1 = lambda.u.multiply(lambda.u); in norm()
90 BigInteger s2 = lambda.u.multiply(lambda.v); in norm()
93 BigInteger s3 = lambda.v.multiply(lambda.v).shiftLeft(1); in norm()
314 public static byte[] tauAdicNaf(byte mu, ZTauElement lambda) in tauAdicNaf() argument
321 BigInteger norm = norm(mu, lambda); in tauAdicNaf()
336 BigInteger r0 = lambda.u; in tauAdicNaf()
337 BigInteger r1 = lambda.v; in tauAdicNaf()
675 public static ECPoint.AbstractF2m multiplyTnaf(ECPoint.AbstractF2m p, ZTauElement lambda) in multiplyTnaf() argument
679 byte[] u = tauAdicNaf(mu, lambda); in multiplyTnaf()
[all …]
/external/annotation-tools/annotation-file-utilities/tests/
DLambdaExpression.jaif9 lambda *0:
14 lambda *0:
19 lambda *0:
26 lambda *0:
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dp3.cpp4 auto lambda = [i]() -> void {}; // expected-note 2{{candidate constructor}} in test_nonaggregate() local
5 decltype(lambda) foo = { 1 }; // expected-error{{no matching constructor}} in test_nonaggregate()
6 static_assert(!__is_literal(decltype(lambda)), ""); in test_nonaggregate()
Dtemplates.cpp20 auto lambda = [=, &y] () -> T { in captures() local
25 return lambda(); in captures()
40 auto lambda = [=](bool b) { return x + y; }; in infer_result() local
41 …return lambda(true); // expected-error{{no viable conversion from returned value of type 'X' to fu… in infer_result()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/
Deval.pass.cpp65 double x_mean = 1/d.lambda(); in main()
66 double x_var = 1/sqr(d.lambda()); in main()
104 double x_mean = 1/d.lambda(); in main()
105 double x_var = 1/sqr(d.lambda()); in main()
143 double x_mean = 1/d.lambda(); in main()
144 double x_var = 1/sqr(d.lambda()); in main()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_MatrixSolveLs.pbtxt47 `l2_regularizer`=\\(\lambda \in \mathbb{R}\\).
51 \\(X = (A^H A + \lambda I)^{-1} A^H B\\), which solves the least-squares
53 \lambda ||Z||_F^2\\). If \\(m \lt n\\) then `output` is computed as
54 \\(X = A^H (A A^H + \lambda I)^{-1} B\\), which (for \\(\lambda = 0\\)) is the
59 \\(\mathrm{cond}(A) \lt \frac{1}{\sqrt{\epsilon_{mach} } }\\) or\\(\lambda\\) is
/external/scapy/test/
Dsendsniff.uts30 "lfilter": lambda p: IP in p and p[IP].src == "1.2.3.4"}
38 "lfilter": lambda p: IP in p and p[IP].src == "1.2.3.4"})
55 "lfilter": lambda p: IP in p and p[IP].src == "2.3.4.5"}
71 "lfilter": lambda p: IP in p and p[IP].src == "1.2.3.4"})
112 "lfilter": lambda p: IP in p and p[IP].src == "1.2.3.4"}
120 "xfrm12": lambda pkt: pkt,
121 "lfilter": lambda p: IP in p and p[IP].src == "1.2.3.4"})
139 "lfilter": lambda p: IP in p and p[IP].src == "2.3.4.5"}
155 "lfilter": lambda p: IP in p and p[IP].src == "1.2.3.4"})
Dfields.uts120 fields_desc = [ FieldLenField("len", None, length_of="str", fmt="B", adjust=lambda pkt,x:x+1),
121 StrLenField("str", "default", length_from=lambda pkt:pkt.len-1,) ]
145 fields_desc = [ BitFieldLenField("len", None, 4, length_of="str" , adjust=lambda pkt,x:x+1),
147 StrLenField("str", "default", length_from=lambda pkt:pkt.len-1, ) ]
174 FieldListField("lst", None, IntField("elt",0), count_from=lambda pkt:pkt.len)
225 PacketListField("plist", None, IP, count_from=lambda pkt:pkt.len,) ]
263 PacketListField("plist", None, IP, count_from=lambda pkt:pkt.len) ]
302 adjust=lambda pkt, x: x + 2),
304 adjust=lambda pkt, x: (x + 1) // 2),
306 length_from=lambda x: (x.len2 * 2) // 3 * 3) ]
[all …]
/external/javaparser/javaparser-testing/src/test/resources/com/github/javaparser/bdd/
Dparsing_scenarios.story172 Then lambda in statement 1 in method 1 in class 1 is called r1
173 Then lambda in statement 2 in method 1 in class 1 is called r2
174 Then lambda in statement 3 in method 1 in class 1 is called r3
175 Then lambda in statement 1 in method 1 in class 1 body is "System.out.println("Hello world!");"
176 Then lambda in statement 2 in method 1 in class 1 block statement is null
177 Then lambda in statement 3 in method 1 in class 1 block statement is "System.out.println("Hello wor…
178 Then lambda in statement 1 in method 1 in class 1 is parent of contained body
179 Then lambda in statement 3 in method 1 in class 1 is parent of contained body
181 Then lambda in method call in statement 4 in method 1 in class 1 body is ""foo";"
197 Then lambda in statement 1 in method 1 in class 1 is parent of contained parameter
[all …]
/external/tensorflow/tensorflow/contrib/linear_optimizer/kernels/g3doc/
Dreadme.md7 $$ P(w) = \frac{1}{n}\sum_{i=1}^n \l_i(x_i^T w)+\lambda g(w) $$
11 …frac{1}{n} \left(\sum_{i=1}^n -\l_i^\star(-\a_i)\right) -\lambda g^\star\left(\tfrac{1}{\lambda n}…
17 $$\lambda n$$ is the L2 parameter.
36 \d_{[k]}- \frac{\lambda}{2}\sigma \left\| \frac{1}{\lambda n} X \d_{[k]}
51 where we have defined $$A=\sigma X_i^2/(\lambda n) $$ and $$ \bar{y}_i = w^T X_i
57 X_i^2s_i/(\lambda S) $$.
65 formulation, we replace $$\lambda$$ by $$\frac{\lambda}{\sigma}$$. This gives
96 $$\lambda$$ by $$\frac{\lambda}{\sigma}$$ we obtain
98 $$ \d = -\frac{\a + w^T X_i - y}{1 + \frac{\sigma X_i^2}{2 \lambda n}} $$

12345678910>>...12