Julia Programming Language
Obtain multiple components from a ComponentArray
General Usage
componentarrays
dpsanders
June 3, 2021, 3:25am
2
You can do
julia> getindex.(Ref(ca), (:x1, :x3)) ([1, 2], [100, 200])
3 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
[RFC/ANN] ComponentArrays.jl for building composable models without a modeling language
Package Announcements
diffeq
,
optim
,
componentarrays
22
2588
April 25, 2020
Access jth component of stacked 1D array
General Usage
6
410
June 15, 2020
Accessing elements of a ComponentArray based on a variable
General Usage
1
49
September 5, 2024
Slice Arrays of Arrays
New to Julia
4
463
June 20, 2019
How to extract components in an array of arrays
General Usage
question
,
arrays
11
2048
April 16, 2022