In mathematics, a matrix of ones or all-ones matrix is a matrix over the real numbers where every element is equal to one. Examples of standard notation are given below:
Some sources call the all-ones matrix the unit matrix, but that term may also refer to the identity matrix, a different matrix.
For an n×n matrix of ones J, the following properties hold: