We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The output type of vcat depends on whether the same key is present in multiple vectors and on the number of concatenated vectors.
vcat
using ComponentArrays ca1 = ComponentVector(a=1, b=2, c=3) ca2 = ComponentVector(d=4) ca3 = ComponentVector(e=4) ca = vcat(ca1, ca2) # gives ComponentVector, @report_opt vcat(ca1, ca2) from Jet.jl detects runtime dispatch ca = vcat(ca1, ca2, ca3) # gives Vector, no runtime dispatch ca1 = ComponentVector(a=1, b=2, c=3) ca2 = ComponentVector(c=5, d=4) ca = vcat(ca1, ca2) # gives Vector, no runtime dispatch
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The output type of
vcat
depends on whether the same key is present in multiple vectors and on the number of concatenated vectors.The text was updated successfully, but these errors were encountered: