Jump to content

Collections: Difference between revisions

m
mNo edit summary
Line 1,545:
=={{header|Julia}}==
Julia has a wide variety of collections, including vectors, matrices, lists of Any data type, associative arrays, and bitsets.
There is a slicing notation and list comprehensions similar to those in Python, but the base index is by default 1, not 0. In Julia, a collection is a just variable length array:
<lang julia>
 
4,105

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.