Lines Matching refs:lambda
2512 F gapWeightedSimilarity(alias comp = "a == b", R1, R2, F)(R1 s, R2 t, F lambda)
2521 if (s.length < t.length) return gapWeightedSimilarity(t, s, lambda);
2532 immutable lambda2 = lambda * lambda;
2552 dpvi1[j1] = dpsij + lambda * (dpvi1[j] + dpvi[j1]) -
2593 (R1 s, R2 t, F lambda, F sSelfSim = F.init, F tSelfSim = F.init)
2605 sSelfSim = gapWeightedSimilarity!(comp)(s, s, lambda);
2608 tSelfSim = gapWeightedSimilarity!(comp)(t, t, lambda);
2611 return gapWeightedSimilarity!(comp)(s, t, lambda) /
2653 F lambda = void, lambda2 = void; member
2661 this(Range s, Range t, F lambda) in this()
2665 assert(lambda > 0); in this()
2667 this.lambda = lambda; in this()
2668 this.lambda2 = lambda * lambda; // for efficiency only in this()
2757 const tmp = klij + lambda * (Si_1j + Sij_1) - lambda2 * Si_1j_1; in popFront()
2772 currentValue /= pow(lambda, 2 * (gram + 1)); in popFront()
2790 + lambda * (Si_1[j] + lastS) in popFront()
2806 currentValue /= pow(lambda, 2 * (gram + 1)); in popFront()