Julia Programming Language
How to define many variables in few lines?
General Usage
DNF
August 4, 2021, 7:02am
4
Maybe something like this:
(a,b,c,d,e) = (Ref{Float64}(1.0) for _ in 1:5)
4 Likes
How to set the elements of an array of defined type in one line?
show post in topic
Related topics
Topic
Replies
Views
Activity
Declare multiple variables type like C++
General Usage
question
10
3362
December 6, 2017
Best way to pass 75 variables into a function or into a for loop?
New to Julia
8
717
May 6, 2019
How to define a const array first and give its length later in a function?
General Usage
7
958
August 5, 2021
Const variables
New to Julia
constants
30
14103
February 7, 2022
How to correctly define and use global variables in the module in Julia?
General Usage
19
16881
August 6, 2021