# \#arraysofarrays

**URL:** https://discourse.julialang.org/tag/arraysofarrays/851.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [ArraysOfArrays with named fields](https://discourse.julialang.org/t/arraysofarrays-with-named-fields/110281)

<div class="topic-metadata">

**Author:** [@sijo](https://discourse.julialang.org/u/sijo)\
**Replies:** 7\
**Last updated:** [February 19, 2024, 4:38pm UTC](https://discourse.julialang.org/t/arraysofarrays-with-named-fields/110281 "2024-02-19T16:38:15Z")

</div>

Let’s say I have a vector a = \[x1, x2, x3, q1, q2, q3, q4\]. What’s a nice way to use it in algorithms that expect a flat vector like that, but at the same time have a nice interface like a.x, a.q to extract \[x1, x2, x3\] …

---

## [ElasticArrays/ArraysofArrays for Vector of Arrays](https://discourse.julialang.org/t/elasticarrays-arraysofarrays-for-vector-of-arrays/70426)

<div class="topic-metadata">

**Author:** [@mrVeng](https://discourse.julialang.org/u/mrVeng)\
**Replies:** 5\
**Last updated:** [November 25, 2021, 9:04pm UTC](https://discourse.julialang.org/t/elasticarrays-arraysofarrays-for-vector-of-arrays/70426 "2021-11-25T21:04:18Z")

</div>

Dear all, I would like to use ArraysOfArrays and ElasticArrays to handle indexing a Vector vec of type Vector{\<:AbstractArray{T}} where {T} better, as I often need to call vec\[iter\]\[idx\], and afaik with these packages I…
