| Start |
|---|
| Creating matrices Under the hood, a matrix is a special kind of vector with two dimensions. Like a vector, a matrix can only have one data class. You can create matrices using the As you can see this gives us a matrix of all numbers from 1 to 6 with two rows and three columns. The Matrices do not have to be numeric – any vector can be transformed into a matrix. For example: Like vectors matrices can be stored as variables and then called later. The rows and columns of a matrix can have names. You can look at these using the functions It is important to note that similarly to vectors, matrices can only have one data type. If you try to specify a matrix with multiple data types the data will be coerced to the higher order data class. The |
Read Article
https://develop.horje.com/learn/1434/reference