Julia Programming Language
Meaning and alternatives to "undef" when initializing vectors
New to Julia
lmiq
June 4, 2020, 8:42pm
10
That clarifies a lot. Thank you.
show post in topic
Related topics
Topic
Replies
Views
Activity
Inconsistent results from using #undef
New to Julia
14
438
October 11, 2025
Help me understand vector initialization
Performance
7
700
January 18, 2023
What about an `undefs` function in `Base`?
General Usage
feature-request
64
3471
January 24, 2023
Handy function for making empty arrays
Internals & Design
5
775
February 29, 2020
When using Vector{T}(undef,n) constructor, what are the values set to?
General Usage
3
525
January 26, 2022