private void ResolveWeights(IMatrix <double> matrix) { var eigenPair = _engine.GetMaxEigenPair(matrix); _consistencyIndex = (eigenPair.EigenValue - matrix.Size) / (matrix.Size - 1); _weights = eigenPair.EigenVector.ToArray(); }