Julia Programming Language
How to use string substitution in variable names
New to Julia
strings
DNF
May 2, 2021, 8:11pm
14
Faster an shorter:
collect(eachcol(diagm(ones(7))))
2 Likes
What has been the worst Julia production code you have written?
show post in topic
Related topics
Topic
Replies
Views
Activity
Creating multiple variables with consecutive names using a for loop
General Usage
question
8
3940
February 4, 2020
Wondering Why the Variable is Not Used
General Usage
question
15
1216
September 10, 2021
Macro to create variables from arrays of names and values
General Usage
metaprogramming
14
3089
January 15, 2021
Use @eval within a function
General Usage
metaprogramming
,
syntax
4
1243
May 30, 2020
How to change the name of a variable in a for loop
New to Julia
2
4126
September 7, 2019