In mathematics, a matrix of ones or all-ones matrix has every entry equal to one.[1] Examples of standard notation are given below:
Some sources call the all-ones matrix the unit matrix,[2] but that term may also refer to the identity matrix, a different type of matrix.
A vector of ones or all-ones vector is matrix of ones having row or column form; it should not be confused with unit vectors.