Within LaTeX there are several ways to set matrices and vectors. In the following commands and possibilities for the representation of matrices and vectors in LaTeX are shown.
However, within the standard there is no separate command or environment for this. Here you have to use the array environment if you want to set a matrix or a vector.
More on this topic and examples can be found here: https://www.sascha-frank.com/latex-matrix.html