Computes the priority weight vector \(W\) from a Pairwise Reciprocal Matrix (PRM) A
using the matrix formulation of the Normalized Inverse Gram Matrix (NIGM) closed-form solution
(Theorem 3; Yuen, 2024).
Value
If detail = FALSE, a numeric vector of normalized priority weights W.
If detail = TRUE, a list of intermediate calculation steps and matrices.
References
Yuen, K. K. F. (2024). Inverse Gram Matrix Methods for Prioritization in Analytic Hierarchy Process: Explainability of Weighted Least Squares Optimization Method. arXiv preprint arXiv:2401.01190. https://doi.org/10.48550/arXiv.2401.01190