Cum se calculează Matrix Transpose
Ce este Matrix Transpose?
The transpose of a matrix swaps its rows and columns. If A is an m×n matrix, Aᵀ is an n×m matrix. Transposes are used in linear algebra, machine learning, and solving systems of equations.
Formulă
If A is m × n, then Aᵀ is n × m where Aᵀ[i,j] = A[j,i]
- A
- original matrix
- Aᵀ
- transposed matrix
Ghid pas cu pas
- 1(Aᵀ)ᵢⱼ = Aⱼᵢ
- 2Rows become columns
- 3(Aᵀ)ᵀ = A
- 4(AB)ᵀ = BᵀAᵀ
Exemple rezolvate
Intrare
[[1,2,3],[4,5,6]]
Rezultat
[[1,4],[2,5],[3,6]]
Intrare
Square matrix [[a,b],[c,d]]
Rezultat
[[a,c],[b,d]]
Întrebări frecvente
What is the transpose of a transpose?
(Aᵀ)ᵀ = A. Transposing twice returns the original.
Is the transpose of a product the product of transposes in reverse?
Yes! (AB)ᵀ = BᵀAᵀ (note the reversal).
What is a symmetric matrix?
A square matrix where A = Aᵀ. The matrix equals its transpose.
Ești gata să calculezi? Încercați calculatorul gratuit Matrix Transpose
Încercați singur →