go-v.orgcodex
Menu
Page tools

codex · Philosophy

Matrix representation

Diagram for Matrix representation
Matrix representation is a method used by a computer language to store column-vector matrices of more than one dimension in memory. · image: Wikimedia Commons

Matrix representation is a method used by a computer language to store column-vector matrices of more than one dimension in memory. Fortran and C use different schemes for their native arrays. Fortran uses "Column Major", in which all the elements for a given column are stored contiguously in memory. C uses "Row Major", which stores all the elements for a given row contiguously in memory. LAPACK defines various matrix representations in memory. There is also Sparse matrix representation and Morton-order matrix representation. According to the documentation, in LAPACK the unitary matrix representation is optimized.

Some languages such as Java store matrices using Iliffe vectors. These are particularly useful for storing irregular matrices. Matrices are of primary importance in linear algebra.

Wikipedia contributors, "Matrix representation", Wikipedia, revision 1374194337, retrieved 20 November 2026, source, CC BY-SA 4.0.

More Philosophy · Search the codex