Lines Matching refs:lambda
2186 F gapWeightedSimilarity(alias comp = "a == b", R1, R2, F)(R1 s, R2 t, F lambda)
2195 if (s.length < t.length) return gapWeightedSimilarity(t, s, lambda);
2206 immutable lambda2 = lambda * lambda;
2226 dpvi1[j1] = dpsij + lambda * (dpvi1[j] + dpvi[j1]) -
2267 (R1 s, R2 t, F lambda, F sSelfSim = F.init, F tSelfSim = F.init)
2279 sSelfSim = gapWeightedSimilarity!(comp)(s, s, lambda);
2282 tSelfSim = gapWeightedSimilarity!(comp)(t, t, lambda);
2285 return gapWeightedSimilarity!(comp)(s, t, lambda) /
2326 F lambda = void, lambda2 = void; member
2334 this(Range s, Range t, F lambda) in this()
2338 assert(lambda > 0); in this()
2340 this.lambda = lambda; in this()
2341 this.lambda2 = lambda * lambda; // for efficiency only in this()
2430 const tmp = klij + lambda * (Si_1j + Sij_1) - lambda2 * Si_1j_1; in popFront()
2445 currentValue /= pow(lambda, 2 * (gram + 1)); in popFront()
2463 + lambda * (Si_1[j] + lastS) in popFront()
2479 currentValue /= pow(lambda, 2 * (gram + 1)); in popFront()