Skip to content

Commit 05b9f61

Browse files
committed
2 parents ff5fbda + 541d7f4 commit 05b9f61

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

NEWS.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
# ComponentArrays.jl NEWS
22
Notes on new features (minor releases). For more details on bugfixes and non-feature-adding changes (patch releases), check out the [releases page](https://github.com/jonniedie/ComponentArrays.jl/releases).
33

4+
### v0.9.0
5+
- Construct `ComponentArray`s from `Dict`s!
6+
```julia
7+
julia> d = Dict(:a=>rand(3), :b=>rand(2,2))
8+
Dict{Symbol, Array{Float64, N} where N} with 2 entries:
9+
:a => [0.996693, 0.148683, 0.203083]
10+
:b => [0.68759 0.41585; 0.900591 0.377475]
11+
12+
julia> ComponentArray(d)
13+
ComponentVector{Float64}(a = [0.9966932920820444, 0.14868304847436709, 0.20308284992079573], b = [0.6875902095731583 0.415850281435181; 0.9005909643364229 0.3774747843717925])
14+
```
15+
416
### v0.8.0
517
- Generated `valkeys` function for fast iteration over `ComponentVector` subcomponents!
618
```julia

0 commit comments

Comments
 (0)