Arrays, Vectors and Matrices

by Martin D. Maas, Ph.D

Get started handling multidimensional arrays in Julia with this simple guide.

Julia, like the best mathematical languages, has native support for vectors, matrices, and multidimensional arrays, which are fundamental objects of computational science and engineering.

In the examples in these pages, we will be relying almost exclusively on what we can do with the Julia Base syntax.

Even though Julia has excellent support for arrays, not everything has to be an array! Remember that, as for loops are fast, “vectorizing” every operation for performance is not required.

Check out the pages in the menu on the left, for a quick guide on array initialization, basic operations, applying functions to arrays, and resizing arrays.