Càlcul del rang d’una matriu (3×3) amb NumPy i fallback pur Python.
Results / Insights
“A1=3, A2=2 (fila3 = fila1 + fila2), A3=1 (col3 = 2×col1 i col2 nul·la).”
Three 3×3 cases to illustrate rank: identity (3), dependent rows (2) and dependent columns (1)