Converting from staticarrays.svector to abstractvector

I have a variable of type ::Vector{StaticArrays.SVector{3, Float64}}. I need to convert it to ::AbstractVector{T} where {T, Tv<:(AbstractVector{T} where T)} . The variable looks like this:

[[-3519717.5618075402, -5625991.599699855, 27890.995332391183],
 [-3523324.924033929, -5623337.323946269, 66400.506717042],
 [-3526811.974452373, -5620491.026463877, 104907.74422578835],
 [-3530178.590742641, -5617452.799273305, 143411.38890015215],
 [-3533424.6547450675, -5614222.741041048, 181910.12183569712],
 [-3536550.052465184, -5610800.957076664, 220402.62422894413],
 [-3539554.674078163, -5607187.559329691, 258887.577424379],
 [-3542438.4139331374, -5603382.666386319, 297363.6629614406],
 [-3545201.1705573103, -5599386.403465784, 335829.5626214601],
 [-3547842.8466599756, -5595198.902416535, 374283.9584746611],
 [-3550363.3491363223, -5590820.301712105, 412725.53292712837],
 [-3552762.589071087, -5586250.74644678, 451152.968767721],
 [-3555040.4817420663, -5581490.388330967, 489564.9492151936],
 [-3557196.9466234506, -5576539.385686329, 527960.1579649061],
 [-3559231.9073890056, -5571397.903440647, 566337.2792359113],
 [-3561145.291915073, -5566066.113122465, 604694.997817827],
 [-3562937.0322834565, -5560544.192855427, 643031.9991177958],
 [-3564607.0647840765, -5554832.327352402, 681346.9692073213],
 [-3566155.329917538, -5548930.707909329, 719638.5948690411],
 [-3567581.7723974693, -5542839.532398831, 757905.5636437299],
 [-3568886.341152754, -5536559.0052635465, 796146.5638770178],
 [-3570068.9893295458, -5530089.337509247, 834360.2847662144],
 [-3571129.6742931996, -5523430.746697643, 872545.416407001],
...
...
]

Can anyone help me?

What is Tv doing here? Is some part of the type signature missing? As it is now,

AbstractVector{T} where {T, Tv<:(AbstractVector{T} where T)}

is the same thing as

AbstractVector{T} where T

and Vector{StaticArrays.SVector{3, Float64}} is already a subtype of that type. There is no need to convert it:

julia> (Vector{StaticArrays.SVector{3, Float64}}) <: (AbstractVector{T} where {T, Tv<:(AbstractVector{T} where T)})
true
1 Like