Julia Programming Language
How to assign tuples to struct?
General Usage
Oscar_Smith
October 27, 2020, 4:51am
2
x=PortfolioInfo(a...)
should work. The
...
syntax is called splatting.
6 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Splat tuple to new in struct
New to Julia
1
932
September 26, 2017
Unpack array of tuples and structs
General Usage
8
3054
June 11, 2020
What types are allowed inside struct?
New to Julia
type
3
555
August 26, 2018
Get fieldnames and values of `struct` as NamedTuple
General Usage
29
11405
November 26, 2018
Memory allocation in member extraction from a struct?
General Usage
question
7
1659
February 17, 2017