In mathematics, a Matrix of ones or all-ones matrix is a matrix where every element is equal to one. Examples of standard notation are given below:

$$\href{/posts/matrix_of_ones}{J_{2}}=\begin{pmatrix}1&1\\1&1\end{pmatrix}$$

$$\href{/posts/matrix_of_ones}{J_{3}}=\begin{pmatrix}1&1&1\\1&1&1\\1&1&1\end{pmatrix}$$

$$\href{/posts/matrix_of_ones}{J_{2,5}}=\begin{pmatrix}1&1&1&1&1\\1&1&1&1&1\end{pmatrix}$$

$$\href{/posts/matrix_of_ones}{J_{1,2}}=\begin{pmatrix}1&1\end{pmatrix}$$

$$\href{/posts/matrix_of_ones}{J_{2}}=\begin{pmatrix}1&1\\1&1\end{pmatrix}$$

$$\href{/posts/matrix_of_ones}{J_{3}}=\begin{pmatrix}1&1&1\\1&1&1\\1&1&1\end{pmatrix}$$

$$\href{/posts/matrix_of_ones}{J_{2,5}}=\begin{pmatrix}1&1&1&1&1\\1&1&1&1&1\end{pmatrix}$$

$$\href{/posts/matrix_of_ones}{J_{1,2}}=\begin{pmatrix}1&1\end{pmatrix}$$