Retourner au courant

Matrices - Latex

Cet article traite de la génération des différents types de matrices en Latex.

FR

Différents types de matrices

Cet article s’applique aussi bien aux matrices qu’aux vecteurs, un vecteur étant une matrice unidimensionnelle.

Avant tout, nous aurez besoin du package “amspackage” :

\usepackage{amsmath}

Seules la génération des matrices suivantes sera traité dans cet article :

(123456) [123456] {123456} 123456 123456 123456\begin{pmatrix}1 & 2 \cr 3 & 4 \cr 5 & 6\end{pmatrix}\ \begin{bmatrix}1 & 2 \cr 3 & 4 \cr 5 & 6\end{bmatrix}\ \begin{Bmatrix}1 & 2 \cr 3 & 4 \cr 5 & 6\end{Bmatrix}\ \begin{matrix}1 & 2 \cr 3 & 4 \cr 5 & 6\end{matrix}\ \begin{vmatrix}1 & 2 \cr 3 & 4 \cr 5 & 6\end{vmatrix}\ \begin{Vmatrix}1 & 2 \cr 3 & 4 \cr 5 & 6\end{Vmatrix}

Matrices à parenthèses

Code LaTeX

\begin{pmatrix}
1 & 2 \\
3 & 4 \\
5 & 6
\end{pmatrix}

Rendu

(123456)\begin{pmatrix} 1 & 2 \cr 3 & 4 \cr 5 & 6 \end{pmatrix}

Bonjour

Matrices à crochets

Code LaTeX

\begin{bmatrix}
1 & 2 \\
3 & 4 \\
5 & 6
\end{bmatrix}

Rendu

[123456]\begin{bmatrix}1 & 2 \cr 3 & 4 \cr 5 & 6\end{bmatrix}

Matrices à accolades

Code LaTeX

\begin{Bmatrix}
1 & 2 \\
3 & 4 \\
5 & 6
\end{Bmatrix}

Rendu

{123456}\begin{Bmatrix}1 & 2 \cr 3 & 4 \cr 5 & 6\end{Bmatrix}

Matrices sans paranthèse

Code LaTeX

\begin{matrix}
1 & 2 \\
3 & 4 \\
5 & 6
\end{matrix}

Rendu

123456\begin{matrix}1 & 2 \cr 3 & 4 \cr 5 & 6\end{matrix}

Matrices normés (norme d’une matrice)

Code LaTeX

\begin{Vmatrix}
1 & 2 \\
3 & 4 \\
5 & 6
\end{Vmatrix}

Rendu

123456\begin{Vmatrix}1 & 2 \cr 3 & 4 \cr 5 & 6\end{Vmatrix}

Matrices déterminants (ou valeur absolue de matrice)

Code LaTeX

\begin{vmatrix}
1 & 2 \\
3 & 4 \\
5 & 6
\end{vmatrix}

Rendu

123456\begin{vmatrix}1 & 2 \cr 3 & 4 \cr 5 & 6\end{vmatrix}