JuliaSymbolics / Symbolics.jl

Symbolic programming for the next generation of numerical software

Home Page:https://symbolics.juliasymbolics.org/stable/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Indexing vector of variables has strange repr

jariji opened this issue · comments

What is this (xs[1])[1:3] supposed to mean?

julia> @variables xs[1:3]::Vector{LiteralReal} ys[1:4]::Vector{LiteralReal}
2-element Vector{Symbolics.Arr{Symbolics.Arr{Num, 1}, 1}}:
 xs[1:3]
 ys[1:4]

julia> xs[1]
(xs[1])[1:3]


(@main) pkg> st Symbolics
Status `~/.julia/environments/main/Project.toml`
  [0c5d862f] Symbolics v5.19.1