HF RL Explorer

Issue: Implement Moore–Penrose pseudoinverse pinv

Issue: Implement Moore–Penrose pseudoinverse pinv: a task in LegoFlow-SWE (Harbor dataset). Problem Math.js lacks a built-in function to compute the Moore–Penrose pseudoinverse of a matrix. Users must resort to external libraries or manual implementation for solving least‑squares problems…

The task

**Problem** Math.js lacks a built-in function to compute the Moore–Penrose pseudoinverse of a matrix. Users must resort to external libraries or manual implementation for solving least‑squares problems, handling rectangular or singular matrices, and working with complex numbers.

Part of Lego-X/LegoFlow-SWE.