# \#creation

**URL:** https://discourse.julialang.org/tag/creation/1575.md

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

---

## [Convenient creation of an OffsetArray?](https://discourse.julialang.org/t/convenient-creation-of-an-offsetarray/113047)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 5\
**Last updated:** [April 19, 2024, 11:01am UTC](https://discourse.julialang.org/t/convenient-creation-of-an-offsetarray/113047 "2024-04-19T11:01:04Z")

</div>

I’ve been using OffsetArrays and is a bit frustrated with its cumbersome creation: # xax\[0:imax\], zax\[0:kmax\] are OffsetArrays. # I want to create an OffsetArray \[0:imax, 0:kmax\] oa = OffsetArray(Array{Float64,2}(undef,…
