Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use with VectorOfArray #36

Open
rveltz opened this issue Dec 11, 2018 · 1 comment
Open

use with VectorOfArray #36

rveltz opened this issue Dec 11, 2018 · 1 comment

Comments

@rveltz
Copy link

rveltz commented Dec 11, 2018

Hi,

I am trying to use LabelledArrays a bit like in Diffeq.
Is it easy to make the following work or some related syntax?

Thank you for your work,

Cheers

using LabelledArrays, RecursiveArrayTools
v = @LArray [1.0,0.0,0.0] (:x,:y,:z)
sol=VectorOfArray([v])
push!(sol,v)
sol[:x,:]
@ChrisRackauckas
Copy link
Member

I think RecursiveArrayTools needs to allow its indexing here to allow symbols: https://github.com/JuliaDiffEq/RecursiveArrayTools.jl/blob/master/src/vector_of_array.jl#L29-L36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants