Skip to content

Text minhashpermutations multiplier

github-actions[bot] edited this page Sep 25, 2026 · 29 revisions

Development build. This page describes main, not a released package. The latest published Lodestar.Text is 0.7.0 — read its documentation.

Home › Text › Set similarity

MinHashPermutations.Multiplier

The a coefficient of one permutation.

public ulong Multiplier(int index)

Parameters — index is which permutation, from zero.

Returns — ulong, the multiplier supplied for it.

Exceptions — ArgumentOutOfRangeException when index is outside the set.

Example — the shape a caller writes.

using Lodestar.Text.Similarity;

var permutations = new MinHashPermutations([3UL, 5UL], [13UL, 17UL]);

ulong second = permutations.Multiplier(1);  // => 5

Applies to — net10.0, netstandard2.0.

See also — MinHashPermutations.Addend.

Clone this wiki locally