Matrix Transpose

Domain: Math & Logic for AI

🎯 Motivation

Flips a matrix over its diagonal, swapping rows and columns. Used everywhere in ML computations.

📋 Concrete Example

Transpose of [[1,2],[3,4],[5,6]] (3x2) becomes [[1,3,5],[2,4,6]] (2x3).

🔗 Analogy

Like turning a photo sideways - rows become columns and columns become rows.