Skip to content

Stats correlationmatrix gethashcode

github-actions[bot] edited this page Sep 25, 2026 · 1 revision

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

Home › Stats › Hypothesis tests

CorrelationMatrix.GetHashCode

Hashes the size, which is O(1).

public int GetHashCode()

Returns — the variable count: equal results agree on it, unequal ones may collide.

Example — the hash is the side of the matrix.

using Lodestar.Stats;

CorrelationMatrix matrix = Spearman.Matrix([1.0, 3.0, 2.0, 1.0, 3.0, 2.0], 2);

int hash = matrix.GetHashCode();   // => 2

Remarks — walking the matrices would make the cheap operation cost what the test cost.

Applies to — net10.0, netstandard2.0.

See also — CorrelationMatrix.Equals.

Clone this wiki locally