Tutorials > Julia Programming: a Hands-on Tutorial

Arrays, Vectors and Matrices

by Martin D. Maas, Ph.D

Last updated: 2021-10-15

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

Introduction to Arrays

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.

Don't miss any updates!

I'm writing a newsletter about once a month, with links to new posts and tutorials.

In particular, one of my goals for 2022 is to write a book about scientific software development using Julia. Make sure to subscribe if you are interested!