Creates an n by 1 matrix with data as its elements, where n is data.size.
Creates a matrix with data along the diagonal and all other elements set to 0.
Creates an identity matrix with dimensions size by size.
Creates a 1 by n matrix with data as its elements, where n is data.size.
Creates a zero matrix with dimensions size by size.
Creates a zero matrix with the given dimensions.